I am trying to dynamically read regex matching rules and replacement rules from a txt file and send to re.sub function as parameters.
My input is "PERSONALDETA
"PERSONALDETA