Community-Blog icon indicating copy to clipboard operation
Community-Blog copied to clipboard

Post idea - Using PowerShell and Regular Expressions as a Wordle Solving Tool

Open doctorscripto opened this issue 3 years ago • 2 comments

Using PowerShell and Regular Expressions to solve a Wordle

Details of requested document:

  • Are you offering to write the post [Y/N]: Y
  • Proposed title: Using PowerShell and Regular Expressions as a Wordle Solving Tool
  • Links to related posts: N/A
  • One of the most popular puzzles floating about online is "Wordle" which is a general challenge to figure out a 5 letter word using only 6 guesses. Bragging rights among your friends to solve it the fastest. The solution being shown here is using Regular Expressions and a simple solution to build out a Dynamic loop to reject all the possibilities from a 12,500 Word array to identify the most likely candidates. This solution has been successfully tested against 3 Wordle sites (US, UK and Canada) as well as Quordle (A very challenging combination of four Wordles to solve Giant 12,500 word array not supplied. You must assemble that yourself ;)

doctorscripto avatar Mar 08 '22 11:03 doctorscripto

@doctorscripto Sounds like fun. Are you going to write this?

sdwheeler avatar May 20 '22 21:05 sdwheeler

My regular expressions skills are simply something my brain does not allow me to master. Despite years of trying, my ability with Regex is, well, pretty lacking despite, as I say, a lot of effort. That said, this could be fun.

PordlePS?

doctordns avatar Jul 18 '22 15:07 doctordns