I have a bunch of regexs which operate on the same string, doing s/ and tr/. can I put this all into one regex? it needs to be a perl5 or posix compliant regex as I want to use it in perl, php, java etc. which is why I would like one regex, to make it easier to transport. the code currently looks like:
$print =~ s/([b-z]|[A-Z]):/\1/g;
$print =~ s/a |V /A /g;
$print =~ s/a: /A: /g;
$print =~ s/2:/2 %/g;
$print =~ s/9|3:/&/g;
$print =~ s/([a,e,O])I/\1j/g;
$print =~ tr/QRC@6{/Orx**E/;
...
you get the point. please excuse my coding. thanks for your help!