What regular expression tests validity of a phone number that looks like this: +7 812 123-4567?
- /+[0-9] [0-9]{3} [0-9]{3}-[0-9]{4}/
- /\+[0-9] [0-9]{3} [0-9]{3}-[0-9]{4}/
- /\+ [0-9]*{1,4}/
- /\+[0-9] [0-9]+ [0-9]*-[0-9]*/
Quiz, Objective, Multiple Choice Question (MCQ), Test Bank Solution and Short Answers.