I want to be able to find any of the indicated words in Like and Not Like mode, ex.:"word" / ".word." but that does not take into account the initial and final space. Space is allowed in compound word. Ex: "word1 word2".
I use System.Text.RegularExpressions.RegexOptions.Multiline | System.Text.RegularExpressions.RegexOptions.IgnoreCase and I would like to know how to include that does not differentiate letters with accents from letters without accents.
My Regex: "\b(?:.road.|.house.|.street.)\b"
Text: "have one house free."
It should return: Match: 9 length 5 End 13
You can try it at: https://regex101.com
Note:If I try "\b(?:road|house|street)\b" returns 9-14 (bad, is 9-13). Not Like Mode.
Note:If I try "\b(?:.road.|.house.|.street.)\b" returns 8-15 (bad, is 9-13). Like Mode.
Note:If I try "\b(?:.road.|.ous.|.street.)\b" returns 9-14 (bad, is 9-13). Like Mode.