Need help with my regex code

guys this is javascript algo.
My regex is going wrong somewhere. I am not able to figure out where
Here is the regex
let reRegex =/^[1\s\d{3}|1(\d{3})|1\s(\d{3})|\d{3}]+[\s\d{3}|-\d{3}|\d{3}]+[\s\d{4}|-\d{4}|\d{4}]$/;
Here is the link to the problem
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/javascript-algorithms-and-data-structures-projects/telephone-number-validator
Any help will be apprecated . Thanks in advance.
Here is my complete code
let reRegex =/^[1\s\d{3}|1(\d{3})|1\s(\d{3})|\d{3}]+[\s\d{3}|-\d{3}|\d{3}]+[\s\d{4}|-\d{4}|\d{4}]$/;
//let regex = /reRegex/;
let result = reRegex.test(str);
return result;

Paste your regex here: https://regexr.com/
It’ll explain in details what your regex does.