I’m total newbie with regular expressions. What I want to do:
This is to help solve NY Times Spelling Bee. In a Drafts doc, I have a running list of words that are useful in solving the bee. About 1200 words now. For the spelling bee, you want to make as many words as possible from 7 letters. Each word must contain the middle letter. So, I would like to create a regular expression that finds every word in my Drafts doc that contains the Bee’s middle letter where the rest of the word’s letters come from the other 6 letters of the Bee for that day. For example, today’s Bee has the letters “UNCIEDT” and the middle letter is “U”.
My Drafts doc contains on separate lines:
- Aura, Guru, Deduct, Induct, Uplift, etc.
- I want a regexp that finds only Deduct, Induct.
- So far, I have used [U] to find all the words containing U, but that also returns Aura, Guru, Uplift etc.