Follow @RoyOsherove on Twitter

Common uses for Regex parsing

Got this in my email today...

Here are some nice examples of of parsing using Regex for some commonly used cases

* IsValidEmail - Validating an E-mail Address http://archive.devx.com/devxpress/gurl.asp?i=1X2694710X75356

* IsValidUrl - Validating a URL http://archive.devx.com/devxpress/gurl.asp?i=1X2694710X75357

* IsValidUsPhoneNumber - Validating a US Phone Number http://archive.devx.com/devxpress/gurl.asp?i=1X2694710X75358

* IsValidUsZip - Validating a US ZIP Code http://archive.devx.com/devxpress/gurl.asp?i=1X2694710X75359

* IsValidUsSSN - Validating a US Social Security Number (SSN) http://archive.devx.com/devxpress/gurl.asp?i=1X2694710X75360

* IsValidPath - Validating a System Path http://archive.devx.com/devxpress/gurl.asp?i=1X2694710X75361

* IsValidIP - Validating an IP Address http://archive.devx.com/devxpress/gurl.asp?i=1X2694710X75362

 

Config Hell

A Star Is Born (Emotional - That's me!)