Hi. Please help me to write a single expression to validate Canadian Quebec vehicle number I have for each example one expression but i cant combine it. Can you help me? Thanks! /^ [A-Z][0-9]{2}[\s][A-Z]{3}$/g; /*for A00 ABC*/ /^ [0-9]{3}[\s][A-Z]{3}$/g; /*for 000 ABC*/ /^ [A-Z]{3}[\s][0-9]{3}$/g; /*for ABC 000*/ /^ [0-9]{3}[A-Z][0-9]{3}$/g; /*for 000H000*/ Letters A, B, C, H may be replaced by other letters of the alphabet.
There are currently 1 users browsing this thread. (0 members and 1 guests)
View Tag Cloud
Forum Rules
Bookmarks