php & preg_match()
Hi,
I've run into a wall in which I'm not able to figure out the expression needed to make a match. The string is: Code:
# BEGIN RewriteEngine Here's what I currently have: Code:
preg_match('/\# BEGIN RewriteEngine(.*?)\#END RewriteEngine/',$content,$match) I've tried a number of different variations but I think the # (pound sign) is what's giving me grief. Any help would be appreciated. Thanks |
PHP Code:
Thanks anyways.. =) |
All times are GMT -5. The time now is 03:35 AM. |