Re: regular expressions php/perl/actionscript
| From: | Gabino Travassos | Date: | Thu, 22 Apr 2004 19:49:28 +0000 |
| Subject: | Re: regular expressions php/perl/actionscript | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-184291@lists.php.net to get a copy of this message | ||
I forgot to mention that in my XML file, inside the quotes in this attribute
>>> backColour="xxxxxx" the x's will be variable..., so I need some kind of
wildcard to select everything from "backColour" + the next 8 or 9
characters, cuz it might be backColour="333990" or whatnot.
'backColour' will be a unique string in the XML file, but I'll have those
quotes and a variable RGB hex value to find and replace.
Can I do something like
$bgClrOld = ereg_match('/backColour/'+8chr,$s);
?
Merci