RegExLib.com - The first Regular Expression Library on the Web!

Please support RegExLib Sponsors

Sponsors

Regular Expression Details

Title Test Find Numero de telefone para o Brasil.
Expression
^(\(\d{2}\)?\s?|\d{2}(\-|\s))?\d{2,4}(\-|\s)?\d{4,5}$
Description
Número de telefones Brasileiros inclusive celular de São Paulo
Matches
(11) 9876-5432 | (11)9876-5432 | (11) 9876-54321 | 11-9876-54321 | 11 9876-5432 | 11 987654321 | 98765432 | 9876-5432
Non-Matches
(11) | (11-9876-5432 | (11) 9876 | 1198765432
Author Rating: The rating for this expression. Andre Banderas
Source ^(\(\d{2}\)?\s?|\d{2}(\-|\s))?\d{2,4}(\-|\s)?\d{4,5}$
Your Rating
Bad Good

Enter New Comment

Title

Name

Comment

Spammers suck - we apologize. Please enter the text shown below to enable your comment (not case sensitive - try as many times as you need to if the first ones are too hard):

Existing User Comments

Copyright © 2001-2024, RegexAdvice.com | ASP.NET Tutorials