in reply to Performing a grep-like action multiple times on a single line.

Try throwing a g modifier at the end of that regex and see what happens.

------
We are the carpenters and bricklayers of the Information Age.

Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

  • Comment on Re: Performing a grep-like action multiple times on a single line.