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.

2
  • Why not do a regular replace and replace the </ITEM_ with something else and then run your regex replacement?
    – Blerg
    Commented Aug 1, 2016 at 20:02
  • Yes, thanks, would work but take 2 replaces, whereas x2 search/replace in 1 regex solution below works OK (but with the Q there still outstanding).
    – Catch21
    Commented Aug 2, 2016 at 21:17