Skip to content
TheChatArchiveThe Chat Archive
gpt-3.5-turbo-0301· OpenAIAi2 WildChat-4.8M (AI2)

Can you generate a regular expression for a french phone number, separated by spaces,…

  1. User

    Can you generate a regular expression for a french phone number, separated by spaces, dashes or dots ?

  2. Assistant

    ^+33[ -.]?(0|(0))[ -.]?(1|2|3|4|5|6|7|8|9)[ -.]?\d{2}[ -.]?\d{2}[ -.]?\d{2}[ -.]?$