Question: Write the extended regular expression for: Phone number in any of the following format: 999-(999)9999, 999999- 9999, 999-999-9999. (Note: all of these formats should be
Write the extended regular expression for:
Phone number in any of the following format: 999-(999)9999, 999999- 9999, 999-999-9999.
(Note: all of these formats should be matched by a single regular expression)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
