Regular Expressions 101

Detect age-related conversations.

Open Workspace
  • JavaScript
  • Match
1

Regular Expression

/
[0-9]+( ?)(yo|years old|years o|yearso|yold)
/
gmi

Description

Safety-measure protocol for online communities.

Submitted by mable42