REGEX (REGULAR EXPRESSIONS) WITH EXAMPLES

For testing Regular Expressions visit regexr.com website . It is an online tool.

Email Validation:
sample: google@gmail.com

/[a-zA-Z0-9_\-\.]+[@][a-z]+[\.][a-z]{2,3}/

Bangladeshi Mobile Phone Validation:
sample: 8801412345678

/(\+88|88)(…


This content originally appeared on DEV Community and was authored by Faisal Ahmed

For testing Regular Expressions visit regexr.com website . It is an online tool.

Email Validation:
sample: google@gmail.com

/[a-zA-Z0-9_\-\.]+[@][a-z]+[\.][a-z]{2,3}/

Bangladeshi Mobile Phone Validation:
sample: 8801412345678

/(\+88|88)(01)[3|4|5|6|7|8|9]{1}[0-9]{8}/

Facebook id Validation:
sample: https://www.facebook.com/zuck

/(https:)?\/\/?(www\.)?facebook\.com\/[a-zA-Z0-9\.]*/


This content originally appeared on DEV Community and was authored by Faisal Ahmed


Print Share Comment Cite Upload Translate Updates
APA

Faisal Ahmed | Sciencx (2022-02-08T15:08:16+00:00) REGEX (REGULAR EXPRESSIONS) WITH EXAMPLES. Retrieved from https://www.scien.cx/2022/02/08/regex-regular-expressions-with-examples/

MLA
" » REGEX (REGULAR EXPRESSIONS) WITH EXAMPLES." Faisal Ahmed | Sciencx - Tuesday February 8, 2022, https://www.scien.cx/2022/02/08/regex-regular-expressions-with-examples/
HARVARD
Faisal Ahmed | Sciencx Tuesday February 8, 2022 » REGEX (REGULAR EXPRESSIONS) WITH EXAMPLES., viewed ,<https://www.scien.cx/2022/02/08/regex-regular-expressions-with-examples/>
VANCOUVER
Faisal Ahmed | Sciencx - » REGEX (REGULAR EXPRESSIONS) WITH EXAMPLES. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/02/08/regex-regular-expressions-with-examples/
CHICAGO
" » REGEX (REGULAR EXPRESSIONS) WITH EXAMPLES." Faisal Ahmed | Sciencx - Accessed . https://www.scien.cx/2022/02/08/regex-regular-expressions-with-examples/
IEEE
" » REGEX (REGULAR EXPRESSIONS) WITH EXAMPLES." Faisal Ahmed | Sciencx [Online]. Available: https://www.scien.cx/2022/02/08/regex-regular-expressions-with-examples/. [Accessed: ]
rf:citation
» REGEX (REGULAR EXPRESSIONS) WITH EXAMPLES | Faisal Ahmed | Sciencx | https://www.scien.cx/2022/02/08/regex-regular-expressions-with-examples/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.