Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
Created·2015-09-24 18:50
Flavor·PCRE (Legacy)

/
^ --start (1?[\-\.\_]?) question mark makes the block or single character before it optional ([0-9]{3}) (-?) ([0-9]{4}) $
/
Open regex in editor

Description

First Test Regex

Submitted by anonymous