I'm new about regex. I want to extract address line in Turkish text. but in turkish there is no standart while writing address. For instance, district = mahalle
You write district for types below
"Mah." "Mh." "MAH." "MH" "mh." "mah." or "mahalle"
regex = ((.*)((\b[Mm][Aa]?[Hh].?)(.*)))
The regex is find all types of district except last one.
Two possible types of district; 1. "mah. mh. " 2. "mahalle"
How can i find it same regex sentence?
Note: i don't want to | (or) statement. .... .... | (.*)mahalle(.*)