regex help
| From: | Jason Morehouse | Date: | Thu, 13 Jan 2005 21:06:32 +0000 |
| Subject: | regex help | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-206321@lists.php.net to get a copy of this message | ||
Hello,
I normally can take a bit of regex fun, but not this time.
Simple enough, in theory... I need to match (count) all of the bold tags in a string, including ones with embedded styles (or whatever else can go in there). <b> and <b style="color:red">. My attempts keep matching <br> as well.
Thanks!
--
Jason Morehouse
Vendorama - Create your own online store
http://www.vendorama.com