Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
More on RegEx
Message
From
15/03/2014 11:43:27
 
 
To
15/03/2014 11:36:55
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Environment versions
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01596601
Message ID:
01596602
Views:
40
\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
Previous
Reply
Map
View

Click here to load this message in the networking platform