Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
Golang

`
Wordle\s(?P<number>\d+)\s(?P<tries>[1-6X])\/6(?:\r?\n){2}(?P<evaluations>(?:[⬛🟨🟩]{5}(?:\r?\n)){0,5})(?P<result>[⬛🟨🟩]{5})
`
g

Description

A Regular Expression for the result of a Wordle, that can be shared after completing the Wordle of the Day.

Submitted by Varun R Gupta - 3 years ago