Hi,

I am parsing the contents of a text file.

I have certain lines that start with "&&4;" I would like to attach these
lines to the previous line as follows. But I don't know how. I figure I
have to search and replace for "\n&&4;" but ... ?

BEFORE:
Here is an example of before.
&&4; here is the second line.

AFTER:
Here is an example of after. &&4; here is the second line.

Thanks,
John
(An email post & reply would be helpful. :)


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to