[Solved] Regular expression to match something followed by two different string [closed]
[ad_1] If the name doesn’t contain whitespaces then you have to look for the first whitespace instead of the word “inflicted”. I would try something like ^(.*?)\s.*?$ You can simply test regular expressions online for example with https://regex101.com/ EDIT Depending on your comment also whitespaces are possible in the name. So we cannot search for … Read more