Regular Expressions 101

Community Patterns

Belgian PhoneNumber

0

Regular Expression
ECMAScript (JavaScript)

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

Description

Validates both mobile and landlines allows forward slash and dots according to common conventions among the people

Submitted by anonymous - 4 years ago