DEV Community

Mehul Lakhanpal
Mehul Lakhanpal

Posted on

Extract mobile number using regex

Alt Text

Note: It would be useful only when there are a fixed number of digits in a valid mobile number. (Some countries have a variable number of digits I guess)

Please modify the country code based on the needs.

Thanks for reading 💙

Follow @codedrops.tech for daily posts.

InstagramFacebook

Micro Learning ● Web Development ● Javascript ● MERN stack

codedrops.tech

Top comments (0)