Legacy Dev Forum Posts

 View Only

Sign Up

Slots regular expression matching where it is not configured

  • 1.  Slots regular expression matching where it is not configured

    Posted 06-05-2025 19:16

    GiovanniBonfante | 2024-08-15 12:53:27 UTC | #1

    I'm using this regex: "^(?:\+?55[ ]?)?(?:\(?[1-9][0-9]\)?[ ]?)9?[ ]?\d{4}-?\d{4}$" to validate phone numbers from brazil, but this is accepting others formats that are not allowed in. Exemple: 5554-323233


    GiovanniBonfante | 2024-08-15 13:03:34 UTC | #2

    ![Captura de tela 2024-08-15 100306

    476x492](upload://fLVu4NdREZDyIa8LJcuJD3T3jUL.png)

    ![Captura de tela 2024-08-15 100158

    536x500](upload://tPDHZmTkZpCrY0Sk6IDzBo708eP.png)

    ![Captura de tela 2024-08-15 100136

    689x500](upload://kkXh4qzkTd6ToXTBijeGtxWwwta.png)


    system | 2024-09-15 13:04:21 UTC | #3

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


    This post was migrated from the old Developer Forum.

    ref: 27912