http://www.perlmonks.org?node_id=1008554


in reply to Re^2: Find all strings containing "a" characters, that are not followed by "b" characters.
in thread Find all strings containing "a" characters, that are not followed by "b" characters.

Try this simple test string before you plump for any of the solutions given:

a good boy!
  • Comment on Re^3: Find all strings containing "a" characters, that are not followed by "b" characters.