community! I am trying to find a way with a regular expression to get a person's name after a specific word, like Hello.
For example: Hello Frederic Abin, - Frederic Abin Hello Anna Banana, - Anna Banana Hello Omar Urael, - Omar Urael
The regex gets the entire person's name after the word Hello and stops at the ,
symbol.
CodePudding user response:
seems as simple as /Hello ([^,] )/
?