The RegularExpressionLibrary type exposes the following members.
Back to Top
Fields
Name | Description | |
---|---|---|
AlphaNumericPattern |
AlphaNumberic, Float
| |
AlphaPattern |
Alpha Only, Float
| |
AmericanExpressCreditCardPattern |
American Express Credit Card
| |
CSSComments |
Regex matching CSS Comments
| |
CSSGroups |
Matches CSS selectors and returns groups of selector[propertyname:propertyValue]
use to parse CSS in a string or file
http://stackoverflow.com/a/2694121/899290
| |
DinersClubCreditCardPattern |
Diners Club Credit Card
| |
DiscoverCreditCardPattern |
Discover Card Credit Card
| |
EmailGeneralPattern |
Use this Regular Expression to test if an email is in proper format
Set Regular Expression to Case Insensitive
Does not check if domains are valid. Does not allow domains
larger than 4 characters long
| |
EmailPattern |
Use this RegularExpression to test if an email is in proper format
Set Regular Expression to Case insensitive
Checks if the top level domain is valid
Does not check for valid top level domains only if the pattern is correct.
| |
FileExtension |
File Extension
| |
GUIDPattern |
Matches Standard .Net and SQL Guid
| |
IntegerNegativePattern |
Negative Integers
| |
IntegerPattern |
Any Integer
| |
IntegerPositivePattern |
Positive Inegers
| |
IPV4AddressPattern |
Valid IPv4 Addresses
| |
IPV4AddressPattern_WComma |
Valid IPv4 Addresses with a comma delimiter at the end,Max 10 Addresses
| |
IPv6AddressPattern |
Matches all IPv6 patterns
| |
IPv6AddressPattern_6Hex4Dec |
IPv6 Hex + 4 dec
| |
IPv6AddressPattern_Hex4DecCompressed |
IPv6 "Mixed"
| |
IPv6AddressPattern_HEXCompressed |
IPv6 Hex Compressed
| |
IPv6AddressPattern_WComma |
Matches all IPv6 patterns
| |
IPv6AddressPatternStandard |
IPv6 Full
| |
MajorCreditCardPattern |
All Major Credit Cards Pattern
| |
MasterCardCreditCardPattern |
Master Card Credit Card
| |
NaturalNumber |
Any Kind of Natural Number, Not 00
| |
NetworkProtocolPattern |
HTTP, FTP, HTTPS, FTPS, network Protocols
| |
PhoneNumber |
Basic Phone Number allowing - . \
| |
RealNegativePattern |
Negative Real Numbers
| |
RealPattern |
Real Numbers
| |
RealPositivePattern |
Positive Real Numbers
| |
SQLConnecitonStringLoginInfoPattern |
SQL Server 2000/2005 Conection String Pattern for User ID and password Section
| |
SQLConnectionStringDatabasePattern |
SQL Server 2000/2005 Conection String Pattern for Datbase or Initial Catalog Names Section
| |
SQLConnectionStringPattern |
SQL Server 2000/2005 Connection String Pattern
| |
SQLConnectionStringSecurityTypePattern |
SQL Server 2000/2005 Conection String Pattern for Security Settings Section
| |
SQLConnectionStringServerPattern |
SQL Server 2000/2005 Conection String Pattern for Server or Data Source Names Section
| |
SQLInjectionValidation_Basic |
Use to ensure a string is not an injection attack.
validates against:
'
--
| |
URLPattern |
Standard Public Url and Some Intranet Urls.
Will match
| |
USPhoneNumber |
US Phone Number Pattern
| |
USSocialSecurityNumberPattern |
US Social Security Number
| |
USZipCodePattern |
US Zip Code Pattern
| |
VisaCreditCardPattern |
Visa Credit Card Pattern, Long and Short
| |
XMLPattern |
Matches XML,XHTML
|
See Also