.net regex

I am looking for a site with a good set of regexes preferably .net specific that would allow me to validate formats such as postal code in the EU, or US+ Other American nations.

Also would like things on the site such as time formats, number formats, or numeric rounding rules.
LVL 1
AlyantoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Dennis AriesCEO @ Arkro ITCommented:
I'm not aware of such a site, but it is easy to create your own set to check against.

Browse to https://en.wikipedia.org/wiki/List_of_postal_codes for the various formats used in the world. These are easily converted to simple regex-statements that can help you with a basic validation. For an extended validation you will have to perform a lot more research since not all combinations are used in each country. For instance, for the netherlands '0000 ZZ' would be valid according to the specifications but there is no physical address connected to that code.

For time, number and other formats, you might want to take a look at CultureInfo.DateTimeFormat that can tell you the valid patterns for a specific culture.
AlyantoAuthor Commented:
Unfortunatly Dennis I am looking for a little more.  I currently have this reference material  I really looking for some to say I have done this exercise of getting together common usage regex and have them share it if possible.  I can see you are thinking in the right direction and I would hope you might profit from this information too.
it_saigeDeveloperCommented:
http://regexhero.net/ has a library section which has some regular expressions defined.

But the best site I have found is http://www.regxlib.com/.

-saige-

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
AlyantoAuthor Commented:
Excellent, not much else I can say.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic.NET

From novice to tech pro — start learning today.