THANKS (I don't think there a fn for this...the closest I saw was quotemeta and I don't think tr/// helps...)$_ = "one\ttwo\nthree four five\r"; s/\t/\\t/g; s/\n/\\n/g; s/\r/\\r/g; s/\f/\\f/g;
In reply to Can this be a 1 line or simpler regex? by smackdab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |