| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor 2014|
regular expressions in php
| 10:55 pm on Apr 4, 2006 (gmt 0)|
Just when I thought I was getting the hang of PHP/Perl regular expressions...
why is %<p[^>](.*)</font>%Uis
not matching anything in the chunk:
<p>this is a test paragraph with some bad html <font size=-3>small text</font>...
Shouldn't preg_match_all be grabbing everything between <p> and </font>?
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved