Community Patterns

Community Library Entry

1

Regular Expression
Created·2022-01-24 20:32
Flavor·PCRE2 (PHP)

/
(?=[a-z]*l)(?=[a-z]*k)(?=[a-z]*n)(?![a-z]*[rtuasgc])[a-z]{5}
/
gm
Open regex in editor

Description

simple, just adjust that: contains letters "l z n" (probably can be simplified but I dont know how) exlude anywhere "rtuasgc"

dictionary taken from wordle JS file

Submitted by anonymous