Assessment wanted Form Validation Task 2

Codepen
Task Link

Hi all,

I’m specifically looking for comments to why my “Phone number” field gives me an error in console. I think my problem is in the regular expression given the error I see:

Pattern attribute value [0-9]{10}|[0-9]{3}[-|.|\s][0-9]{3}[-|.|\s][0-9]{4} is not a valid regular expression: Uncaught SyntaxError: Invalid regular expression: /[0-9]{10}|[0-9]{3}[-|.|\s][0-9]{3}[-|.|\s][0-9]{4}/v: Invalid character in character class

Thanks