Regular Expressions 101

Community Library

Community Library Entry

1

Regular ExpressionOpen Workspace

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

Description
Created·2022-01-24 20:32
Type·Match
Flavor·PCRE2 (PHP)

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
Open Workspace