Hello everyone, I have the following string,
Order created by Juan Esteban Valencia
I only need the information that is after the By, that is, the name of the person.
How can I do it?
it always has the same text, the only thing that varies is the name
1 Like
@Juan_Esteban_Valencia - Here you go…
.
I would suggest to watch this video to start learning about Regex, this is very good video. This is how I learned(Still learning) Regex
1 Like
Another solution is to use Replace()
name = inputString.Replace("Order created by ", "")
2 Likes
thanks @prasath17, this would be used in what activity an assing or with matches?
@Juan_Esteban_Valencia - This is exactly similar to one, like your previous post. Please follow the same steps.
- Matches (Regex)
- Print the Output YourRegexOutputVariable(0).value