Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
More on RegEx
Message
De
15/03/2014 11:43:27
 
 
À
15/03/2014 11:36:55
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01596601
Message ID:
01596602
Vues:
42
\d seems to be a shortcut for digits only. For our case, that would be 0-9. However, \d goes further more than that as it allows any digit character from foreign recognition as well.

http://stackoverflow.com/questions/6479423/does-d-in-regex-mean-a-digit

This would be more satisfying for us:

([0-9]{1,15})-([0-9]{1,4})
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform