Extract with Regex - why is this not working?

In my app, I get incoming requests with texts as such:
05541000 123 Name of Thing
I need to break that down in 3 parts:

  1. ZIP Code (the first 8-digit number)
  2. Number (the 2nd number)
  3. The rest

I do an extract with regex with the expression \S+ so ZIP is the first item, Number is item #2. When I try to capture the name with from item #3 it gives:
Name, of, Thing
I understand; it gives a comma-separated list in a line. I figured I would extend from item #3:make static:find and replace where it is finding , and replacing with nothing. Yet the result is the same: Name, of, Thing.

What am I doing wrong?

1 Like

You can use “join with” and change the “,” to what ever you want (like a space).


1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.