Regex: Malaysia Phone Number

Land + Mobile

/^(\+6)?0(?:(?:(11[^0]|3[^0]))[0-9]{7}|(?:(1[^1][^0]|[45679][^0]))[0-9]{6}|(?:8[2-9][^0])[0-9]{5})$/gm

Land

^(\+6)?0(?:(?:3[^0])[0-9]{7}|(?:[45679][^0])[0-9]{6}|(?:8[2-9][^0])[0-9]{5})$/gm

Mobile

/^(\+6)?01(?:(?:1[^0])[0-9]{7}|(?:[^1][^0])[0-9]{6})$/gm

Source: Programming Laman Web + UI/UX