Question

how to use regex to capture string and create attribute

  • 10 March 2020
  • 2 replies
  • 2 views

Badge

I am trying to find a string with regex and put it in an attribute. I have used the stringReplacer, but this means I would have to search for what I don't want to capture and replace it with nothing so that what is left is the string I want to capture.

It seems as though capture-groups do not capture strings for subsequent use in fme.

 

 

 

 

 


2 replies

Badge +10
Try the string searcher instead
Userlevel 4

Also, you need to specify a list name for the regex capture groups, otherwise you won't find them in the output:

Reply