I'm trying to use regex to remove a word that ends with a period.
I want to only remove Ep.
as a whole word, but not if it's part of another word.
Also I will use RegexOptions.IgnoreCase
.
This Ep. is 01. TestEp.01Test.
Should be:
This is 01. TestEp.01Test.
I thought it should be \b(Ep\.)\b
but it doesn't work.
https://regex101.com/r/QcOiMR/2/
I have tried https://stackoverflow.com/a/5696940/6806643