where x is a digit, or an uppercase letter, except for I or O, and d is a digit. (I tr string to upper case b4 reg exp).FRxxdddddddd
I matched it as:
but I think this looks clumsy./^FR[A-HJ-NP-Z0-9]{2}\d{8}$/
Does anyone have a more efficient way to match "all letters except I and O"???
In reply to French VAT codes reg exp - more efficient way? by cLive ;-)
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |