Re: regex problem
| From: | Richard Lynch | Date: | Thu, 01 Jun 2006 20:37:46 +0000 |
| Subject: | Re: regex problem | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-237214@lists.php.net to get a copy of this message | ||
On Thu, June 1, 2006 4:56 am, Merlin wrote:
>>> ^(.*)_a[0-9](.*).htm$
Don't know what it will help, but you need \\.htm in PHP to get \.htm
in PCRE to escape the . in the extension.
--
Like Music?
http://l-i-e.com/artists.htm