Various utilities for learning regular expressions, solving word puzzles, and general edification.
total
ately$
^b.*ifically
^(a|b)[o-z]+$
Note ^ and $ for beginning and end..*(e.*){5,}
q[^u]
.*([a-z])\1.*([a-z])\2.*([a-z])\3.*([a-z])\4.*
.*([a-z]{3}).*\1.*\1.*
^f(?=\\w*?a)(?=\\w*?e)(?=\\w*?i)(?=\\w*?o)(?=\\w*?u)[a-z]+
It uses the lookahead assertion (?=)
and non-greedy matching \w*?"
. There are a surprisingly large number of words containing all vowels, including words starting with every letter except y in the Base dictionary, and all letters in Union.(?=.*e)^[eginpux]{4,}$
find words of four or more letters from [eginpux] that contain "e". See NYT Spelling Bee.(^[a-z])
(^[a-z]{2})
^[a-z]([a-z])
(^[a-z])[a-z]([a-z]).*$
([a-z]$)
([a-z]{3}$)
(^[a-z])([a-z]).*$
(^[a-z]).*([a-z]$)
(^[a-z]).*(?:ing$)
(^[^ab]{3,})ab([^ab]+$)
([a-z]*)total([a-z]*)
.*([a-z]{3,}).*\1.*\1.*
(?=\w*?a)(?=\w*?e)(?=\w*?i)(?=\w*?o)(?=\w*?u)([a-z]+)
.*([a-z])\1.*([a-z])\2.*([a-z])\3.*([a-z])\4.*
(?=.*e)(^[eginpux]{4,}$)
. See NYT Spelling Bee,
([a-z])\1{2}
),
([a-z]+)\1{2}
), such as jarjarjar,
List | Words |
---|---|
Match 12 | 25,912 |
Match 11 | 41,618 |
Match 10 | 57,940 |
Match 9 | 80,571 |
Match 8 | 104,656 |
Match 7 | 133,453 |
Match 6 | 165,609 |
Match 5 | 204,963 |
Match 4 | 258,418 |
Base | 339,987 |
Match 3 | 343,576 |
Match 2 | 527,161 |
Union | 1,370,762 |
Match 1 | 1,378,680 |