Regular Expressions 101

match only words consisting of 3 repeated letters, e.g. lllkkk

Open Workspace
  • Python
  • Match
-2

Regular Expression

r"
^([a-z]){1,}\1{2}$
"

Description

No description provided.

Submitted by kali