$string ='ab23cdefgXX(3A5)XXhijkl23mnXX(3)XXopq432rsXX(450b)XXtuv'; @length= $string =~ m/XX/g; print scalar @length;
In reply to Re: count repeatation
by sanku
in thread count repeatation
by saranperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |