Regular Expressions

From: Date: Wed, 25 Jul 2001 23:41:27 +0000
Subject: Regular Expressions
Groups: php.windows 
Request: Send a blank email to php-windows+get-8509@lists.php.net to get a copy of this message
Just wondering if this would be correct, I am tring to use [p][ep] as regular expressions to be replace with an img tag, and i just want to know if it is possible to put in only the file name, and to have the location added through the eregi_replace as I have tried below Thanks eregi_replace("\[p]([-_./a-zA-Z0-9!&%#?,'=:~]+)\[ep]","<img scr=\"http://www.nintendoodle.com/graphics/\\1\">",$text);

« previous php.windows (#8509) next »