in reply to Re^4: find one by one occurances
in thread find one by one occurances
That is what you have to do. See perlretut and/or perlre.
This is not a code writing service where we will write code for you.
Maybe you might be interested in that /\w?/ will only match zero or one "word character". If you want to match one or more, you might want to use \w+. Again, now is a good time to learn about regular expressions.
|
|---|