Regular Expressions 101

Community Patterns

Belgian phone number

1

Regular Expression
ECMAScript (JavaScript)

/
^(((\+|00)32[ ]?(?:\(0\)[ ]?)?)|0){1}(4(60|[789]\d)\/?(\s?\d{2}\.?){2}(\s?\d{2})|(\d\/?\s?\d{3}|\d{2}\/?\s?\d{2})(\.?\s?\d{2}){2})$
/

Description

Validate belgian common phone numbers (simple landline and mobile only, no special/free/premium numbers)

Submitted by Marty - 8 years ago