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);

Reply via email to