Regex for EIN number and SSN number format in jquery

For jquery validation i need regex for SSN number format and EIN number format

EIN number like 52-4352452

SSN number like 555-55-5555

format ssn using regex

Hi I need regex in c sharp to display SSN in the format of xxx-xx-6789. i.e 123456789 should be displayed as xxx-xx-6789 in a textfield. The code I am using write now is string SSN = 123456789; Reg

Do not allow SSN and phone number in a String REGEX [duplicate]

Possible Duplicate: Regular expression for SSN and phone number ^(?!.*(//d{16})|.*(//d{9})|.*(//d{3}-//d{2}-//d{4})|.*(//d{3}-//d{3}-//d{3})).* The above regex does not allow SSN and phone number i

telephone number format with jquery&regex done [duplicate]

Possible Duplicate: telephone number format with jquery&regex i need to verify and convert any input val into telephone number format, i.e input er+f375g25123435s67 i need to convert into +375 2

Autoformat SSN while entering the number

I have a textfield and the user enters the SSN number. While entering itself it should format. Like On the change of the textField… it should format 999-999-999 in this way on the display itself.

Number format in jQuery

What would be the conversion of this php function: number_format(‘1486.10′,2,’,’,’ ‘) // return 1.486,10 to jQuery?

Format a Social Security Number (SSN) as XXX-XX-XXXX from XXXXXXXXX

I am getting a social security number (SSN) from a data warehouse. While posting it to a CRM I want it to be formatted like XXX-XX-XXXX instead of XXXXXXXXX. It’s like converting a simple string with

PHP – Changing Phone Number Format with Regex

I’m trying to figure out how to convert a phone number in the format +18761234567 into 876-123-4567 using a replace Regex.

jQuery: Currency Format Number

I have number like this in my html <div class=number>950000</div> and I want jQuery change it to <div class=number>Rp. 950.000</div> How can I do that in jQUery?

Regex PHP: Phone number international format, +

Users should enter a phone number in international format, it should always start with a +, and without any special chars, so for example +3162503277. I thought this simple regex would do it, but some

New Rules to validate US social security number(SSN)

I need to validate US SSN number. Currently I have below rules: Should be 9 digits long. Not allowed are SSNs with all zeros in any digit group (000-xx-####, ###-00-####, ###-xx-0000). Not allowed


For EINs, this will return true if it is valid:


To restrict it to actual prefixes, use this regular expression instead:


However, please note that if new prefixes are added this will not be up to date.