Regular Expressions 101

Alphanumeric and Spaces

Open Workspace
  • PCRE (Legacy)
  • Match
8

Regular Expression

/
^[a-z\d\-_\s]+$
/
i

Description

Alow alphanumeric characters and spaces

Submitted by JTN