homechevron_rightProfessionalchevron_rightComputers

String to list converter

This online calculator splits string by regular expression and outputs the list of matches (or first matched group)

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

  1. It splits entered string by provided regular expression using a match or first group if you want to leave out some unnecessary symbols
  2. It replaces symbols inside every match; if you provide replacement regular expression
  3. 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.

PLANETCALC, String to list converter

String to list converter

List
 

URL copied to clipboard
Creative Commons Attribution/Share-Alike License 3.0 (Unported) PLANETCALC, String to list converter

Comments