Im trying to grab some info from a file, usual way (fopen,fread,flose then
regex), I need to get to separate bits of data, first one is a title works
fine because its the <title> tag and it all on one line, but the second is
returning a null array, I think it may have something to do with the content
being on separate lines with white space.anyone got any ideas?

This is the regex im using:

preg_match_all("|<font face=\"Verdana, Arial, Helvetica, sans-serif\"
size=\"1\">(.*)</font>|U",$content, $body, PREG_PATTERN_ORDER);

the example text im trying to grab is below - Anyone got any ideas, Ive
tried pattern modifying with /m but I cant implement it.
Please help
Thanks
Mark

=====================================================
<font face="Verdana, Arial, Helvetica, sans-serif" size="1">

text text text text text text text text text text text text text text text

 text text text text text text text text text text text text text text text
text text
 text text text text text text text text text text text text text text text
text text

 text text text text text text text text text text text
 text text text text text.

</font>

Cheers,
mark




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to