ReGEX

Hello All,

Hope you all are fine. I am in lookout for a quick response on the following issue that I am stuck in. I am learning/practicing REGEX. I am stuck in a question & getting a partial answer to the problem. The link to the problem is [Learning Regular Expressions] the code that I have written is.`[0-9.-\s]*’, able to match all the text barring one, attached screenshot, can soemeone guide.

you could also put [(] and [)] in there to deal with the ( and ) in the expression
and you’d probably use the | for matching one thing or the other somewhere

spoiler:

possible answers

You might get something like:
([)]|[(]|[0-9.-\s])*
although, when I tried matching phone numbers only, I had:
1?[\s.-]?(([(]\d{3}[)])|\d{3})[\s.-]?\d{3}[\s.-]?\d{4}