Everything you need is at: http://www.php.net/manual/en/function.strip-tags.php
Cheers, Rob. Mike Migurski wrote: > > >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 -- .---------------------------------------------. | Worlds of Carnage - http://www.wocmud.org | :---------------------------------------------: | Come visit a world of myth and legend where | | fantastical creatures come to life and the | | stuff of nightmares grasp for your soul. | `---------------------------------------------' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php