Hi @boubcher
I created here a example with your case:
1) Use the AttributeManager to created these two situations of Attributes

2) Split the Attributes and concactenate the values of the lists:

3) Results in FME Data Inspector:

Attached the Workspace Workspace_Replacer.fmw
Thanks,
Danilo
I would use the StringReplacer with this setting.
- Mode: Replace Regular Expression
- Text to Replace: ^(\\S+)\\s(\\S+)\\s(.+)$
- Replacement Text: \\1A\\2B\\3W
I would use the StringReplacer with this setting.
- Mode: Replace Regular Expression
- Text to Replace: ^(\\S+)\\s(\\S+)\\s(.+)$
- Replacement Text: \\1A\\2B\\3W
@takashi
Thanks Takashi I am new to those expressions could please let me know how this work and how do you come up with the replacement text format
Thanks again
I would use the StringReplacer with this setting.
- Mode: Replace Regular Expression
- Text to Replace: ^(\\S+)\\s(\\S+)\\s(.+)$
- Replacement Text: \\1A\\2B\\3W
There are many resources about Regular Expressions. e.g.