Regular Expressions 101

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
^[^iIoOqQsSxXzZ0-9]{1}$
/
mg

Description

Allow users to only enter a single letter, no numbers, and determine which characters they are not allowed to enter (both uppercase and lowercase).

Submitted by anonymous - 4 years ago