Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Community Library
How to contribute
x
Phone number Malaysia RegEx
Open Workspace
PCRE (Legacy)
Match
Created 2023-04-03 05:09
0
Regular Expression
/
^
(?:
[
+
]
6
)?
0
(
(
[
0
-
9
]
{2}
(
(
\s
[
0
-
9
]
{3,4}
\s
[
0
-
9
]
{4}
)
|
(
-
[
0
-
9
]
{3,4}
\s
[
0
-
9
]
{4}
)
|
(
-
[
0
-
9
]
{7,8}
)
)
)
|
(
[
0
-
9
]
{9,10}
)
)
$
/
gm
Description
A regular expression of Malaysian phone number I made to be used on a project using flutter.
Submitted by
Anonymous