how to use re python code example
Example 1: re python3
import re
>>> m = re.search('(?<=abc)def', 'abcdef')
>>> m.group(0)
'def'
Example 2: python re
m = re.search(r'[cbm]at', 'aat')
print(m)
Example 3: re.search variable
if re.search(rf"\b(?=\w){TEXTO}\b(?!\w)", subject, re.IGNORECASE):
...do something