>I want to be able to retrieve and return all character that are not
>located in html tags.  For example:
>
><font size=\"3\" color=\"#336699\">1234567</font>
>or
><marquee>1234567</marquee>
>
>I would just like it to be equal to 1234567, but I would need it to work
>with any tags and attributes.

A good starting point might be preg_replace, search pattern '/<[^>]+>/',
replace pattern ''.

---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca            http://mike.teczno.com/contact.html


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

Reply via email to