Forum Moderators: coopster
I am using preg_match_all to match some html code... it is matching fine but there's a part that isn't found as a match because it has a <br> tag in it - apart from that it's exactly like the pattern it's trying to match. I want it to exclude the <br> tag if it's found in the pattern. I tried something like: [<br>]? but it doesn't work. Any suggestions?
(<br>)?
[edited by: eelixduppy at 11:58 am (utc) on July 17, 2008]
[edit reason] disabled smileys [/edit]