regex
| From: | Sebastian | Date: | Wed, 04 May 2005 18:31:56 +0000 |
| Subject: | regex | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-214456@lists.php.net to get a copy of this message | ||
very new to regex
i have a string with "bbcode" such as [img=XXX]
(XXX being numeric)
how do i search the string for the value of the bbcode and compare it to
another variable?
so i can take XXX and compare it to $image dynamically.
thanks for any help.