regex works on single line, you can t put newline in it (if I am not
mistaken)

maybe you can replace the newline with a special char, do your search and
replace back the newline. There s probably a cleaner way though

2008/9/11 Michael Brandon <[EMAIL PROTECTED]>

>
> Just a quickie
>
> If I want to find instances of the following in text, what is the regex to
> find it:
>
> "<em>test
>
> Only</em>"
>
> Something like <em>test[\s\r\n]*Only</em>
>
> I just can't seem to get it working when the carriage return is in there.
>
> Yes, I am using regexbuddy...
>
> Thanks guys
>
> Regards
> Michael
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[EMAIL PROTECTED]
-~----------~----~----~----~------~----~------~--~---

Reply via email to