This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/8674/. Also, please do not modify any references to the original work (if any) contained in this content.
Once I had a list with broken formatting. It was just a big string, with entries separated by spaces.
So, here is what this online calculator does
- It splits entered string by provided regular expression using a match or first group if you want to leave out some unnecessary symbols
- It replaces symbols inside every match; if you provide replacement regular expression
- It outputs each replaced match on a separate line, so it is possible to copy the resulting list.
I hope the example below clearly shows it all. I publish it here; maybe it will be useful for somebody else.