Validation Expressions

LeadExec uses regular expressions to validate incoming data. You can use regular expressions to check for any format.

For more information on regular expressions visit Regular-Expressions.info.

Below are just a few common examples of using regular expressions: Back to Documentation
Name Expected Format Expression
Email [email]@[domain].[TLD] ^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,4}$
US Phone Number (000) 000-0000 ^\(?([0-9]{3})\)?[-. ]?([0-9]{3})[-. ]?([0-9]{4})$
US Date Format [month]/[day]/[year] (0[1-9]|1[012])[- /.](0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d
IP Address 000.000.000.000 \d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}
Numbers with decimals 0.0 [0-9,.]+
Numbers without decimals 0 [0-9,]+
US Currency $0.00 \$?[0-9,.]+