and it printed:if($string=~/(.*?)(\.+)(M+i+)/i) { $first=$1; $change=$2; $len_change=length($change); $third=$3; print $first; print 'O' x $len_change; print $third; print "\n"; }
which is correct. Is there a quicker way however?III...MMMMMOOOOOOOOMMMiiiii
In reply to Re: How to make these reg exp changes?
by Anonymous Monk
in thread How to make these reg exp changes?
by Anonymous Monk
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |