String to list converter

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

This page exists due to the efforts of the following people:

Timur

Timur

Created: 2020-03-30 08:47:00, Last updated: 2021-03-20 20:10:29
Creative Commons Attribution/Share-Alike License 3.0 (Unported)

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

  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
PLANETCALC, String to list converter

Comments