How to find words from .txt file using specific pattern
Posted: Thu Jul 22, 2010 10:47 am
It's my first post here, so hi all.
Anyway, I am trying to work this out, but can't do this alone. I have 30 lines of text, 5 lines for example:
??D
??R?
??T?
?P??
F???
The pattern itself always contains 30 lines that contains words made from 3, 4 or 5 letters. There is always only 1 letter assigned, the ? are wildcards and anything can be placed here. What do I need ? - example:
??D RED
??R? BIRD
??T? BITS
I am trying to assign a random word to every line using the pattern where ??D is any 3-letters word that ends with D etc. I already prepared wordlists, but can't add them as attachment ("The extension txt is not allowed.").
To be honest, I am not a good programmer and have no idea how to make it. Any help or advice will be appreciated.
Anyway, I am trying to work this out, but can't do this alone. I have 30 lines of text, 5 lines for example:
??D
??R?
??T?
?P??
F???
The pattern itself always contains 30 lines that contains words made from 3, 4 or 5 letters. There is always only 1 letter assigned, the ? are wildcards and anything can be placed here. What do I need ? - example:
??D RED
??R? BIRD
??T? BITS
I am trying to assign a random word to every line using the pattern where ??D is any 3-letters word that ends with D etc. I already prepared wordlists, but can't add them as attachment ("The extension txt is not allowed.").
To be honest, I am not a good programmer and have no idea how to make it. Any help or advice will be appreciated.