loading...

Extract mobile number using regex

318097 profile image Mehul Lakhanpal ・1 min read

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

Discussion

pic
Editor guide