in reply to
how to find substring using regex
Tips:
Use code tags:
Writeup Formatting Tips
Post code that does not have syntax errors (the code you actually ran).
Tell us what you expect the count to be.
Comment on
Re: how to find substring using regex
In Section
Seekers of Perl Wisdom