See perlre, pack and unpack. If you need to use another character besides '%', go for it.s/([^\w-])/'%'.unpack("H*", $1)/eg; # %5e%25%40%7cCaD5H
In reply to Re: Quick Regex Question
by Fastolfe
in thread Quick Regex Question
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |