RewriteRule ^/?page/?([a-zA-Z0-9,-]+)$ $1.php [L]
Can a text editor find and replace a string like apache mod_rewrite does? I mean, for example, in a text file, I would like to enclose all email addresses in double qoutes,
by entering [a-zA-Z_]@[a-zA-Z-]+\.[a-zA-Z.]+in the field "find what"
and "$1"in the field "replace to", I get all email addresses with literally $ 1, but I wanted the original value to just be added and continued by double qoutes?
or is there an easier approach to the problem?
source
share