regex for this simple string please
Posted: Wed Mar 16, 2005 2:43 am
Hi there,
I have a script called sitemap_ (that's right, sitemap with _ on the end and no extension).
I am detecting any parameter (REQUEST_URI) after the sitemap_ either in the form
sitemap_X
sitemap_X_Y
can anyone tell me what regex I use to determine whether it is of either type, and if so, what X and Y are in the string?
Many thanks
Mark
I have a script called sitemap_ (that's right, sitemap with _ on the end and no extension).
I am detecting any parameter (REQUEST_URI) after the sitemap_ either in the form
sitemap_X
sitemap_X_Y
can anyone tell me what regex I use to determine whether it is of either type, and if so, what X and Y are in the string?
Many thanks
Mark