er-hiba / Regex_Tel_Validator

A Python program utilizing regex to validate phone numbers in the XX-XXX-XXXX format.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

This program leverages regular expressions (regex) to verify whether a provided phone number adheres to the format XX-XXX-XXXX (two digits, a hyphen, three digits, a hyphen, four digits). Users can input a phone number to validate its format.

Examples

♡ Example 1 :

♡ Example 2 :

About

A Python program utilizing regex to validate phone numbers in the XX-XXX-XXXX format.


Languages

Language:Python 100.0%