How to write a regular expression that excludes a particular prefix string?
Example input: "Hello World - How are you today?"
Desired output: "How are you today?"
Prefix strings to exclude: "Hello world - "
this will match everything after,
(?<=Hello\sWorld\s-\s).*
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