What is the logic here?

I would like to know what I should do here. Im not good at using advanced regex so would like to try some other simpler way to solve this challenge.

  **Your code so far**

function telephoneCheck(str) {
return true;

  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36 Edg/97.0.1072.62

Challenge: Telephone Number Validator

Link to the challenge:

Never mind, I found a really long way to solve this one. :roll_eyes:

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.