Regular Expressions 101

Community Patterns

Community Library Entry

2

Regular Expression
.NET 7.0 (C#)

@"
^((\+?(61\W?4))|(04))\W?(([0-9]{2}\W[0-9]{3}\W[0-9]{3})|([0-9]{8})|([0-9]{4}\W[0-9]{4})|([0-9]{2}\W[0-9]{6}))$
"

Description

validates against multiple common formats

Submitted by anonymous - 2 years ago