perlfaq4 - How can I count the number of occurrences of a substring within a string?
In reply to Re: how to find substring using regex by wind in thread how to find substring using regex by harshmane