I have string. It can be in the following format
Folkestone Result
Ascot (IRE) Result
Folkestone Last (IRE) Result
Winterfall Win Result
Help create a regular expression to search for words in bold!
(.*)(?=\()|Result
My version is not quite working correctly
I have solution!
/^(.*?)(?=\(|Result)/m
Alternation inside the lookahead. Use in multiline-mode: m modifier
test at regex101, regex faq
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With