Is there a way to make changes made by second and third strings with one regex? I mean - change all uppercases to "U" AND all lowercases to "L" at once? Thanksmy $r = "SomEThingWithMIXEDRegiSter"; $r =~ s/[A-Z]/U/g; $r =~ s/[a-z]/L/g; print $r;
In reply to change [A-Z] to U, [a-z] to L with one regex? by Doctrin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |