I have a file that contains random, junk ascii characters.
However, in the file there is also a message written in english.
Like this:
...˜ÃÕ=òaãNÜ ß§#üxwáã MESSAGE HIDDEN IN HERE ŸÎ=N‰çÈ^XvU…”vN˜...
I'm trying to write a python regex which will look for a pattern beginning with 6 letters or spaces and ending with 6 letters of spaces.
that way, as long as the message is a minimum of characters or spaces long, then it should output the message.
This is what I've come up with, but it doesn't seem to be working.
regex = re.compile('''
([A-Z ]){6,}
([A-Z ]){6,}
''', re.I | re.X )
