Hameedullah
Programmer
I want to find any newline "\n" and replace it with <BR> only if it does not follow by certain HTML tags (eg <p>, <br>, etc) that would double up the spaces.
Can anyone help me what is the best way to go about this? Should i use regex's? if so then can you tell me how to write the pattern?
Cheers,
Hameed
Can anyone help me what is the best way to go about this? Should i use regex's? if so then can you tell me how to write the pattern?
Cheers,
Hameed