Community Patterns

Community Library Entry

0

Regular Expression
Created·2023-05-28 08:48
Flavor·ECMAScript (JavaScript)

/
\b([aei]*h*[aei]+h[haei]+|[aei]*y*[aei]+y[yaei]*|o?l+o+l+[ol]*)\b
/
gm
Open regex in editor

Description

Matches all laughter like:

  • hahahahhhahahahha
  • hahha
  • ahah
  • lol
  • lolollolll
  • hehehhe
  • hihiihih
Submitted by Prozilla