I was using this regex expression
word_fixed = word.replace("# ", "(w*)(s]*)")
The idea is that if the expression has “# ” in the middle, I will pick all variations for the first word. example:
if “strateg# development” the regular expression should pick “strategic development” and “strategy development”
I am a bit lost. Any suggestion?
8