Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

2
  • Omg, thank you so much... I need to read that a couple of times more and try it out, but thank you for the EDUCATIONAL reply. 😃 Commented May 3, 2022 at 8:38
  • No problem. I fixed a problem with the lookahead (using [[:punct:]] instead of just - made it match commas too) and added both lookbehind to the search regexp and some more explanation. So you probably want to copy-paste another copy of the new & improved script. Commented May 3, 2022 at 9:32