Regular Expressions 101

Community Patterns

1...45678...467

Aus Mobile number

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 - a year ago