This is probably simple for people that play around with RegEx quite a bit but I am having a hard time wrapping my head around how to make this work properly in C3.
What I am doing is pulling from a database using PHP and AJAX. I want to dump the result into a text field and then parse that data using RegEx so I can either push it into an array or simply put the "pieces" into different text fields. For example, this is what the LastData would look like:
"Testing, marker. Apr 15 2018 13:09 Sam smith Apr 15 2018 13:09 Testing, marker, again. Apr 15 2018 14:09 Sam Jones Apr 15 2018 15:09"
I would like it to look like this:
"Testing, marker."
"Apr 15 2018 13:09"
"Sam smith"
"Apr 15 2018 13:09"
Etc.
Playing around with RegEx on regex101.com I get some results if I use this expression: [\'].+?[\']|[^,]+$ and add the single quotation marks to the strings I want to isolate. But when I test that in C3 all I can manage is searching the data for the first instance of the quotation mark.
Any help is appreciated!