Link to home
Start Free TrialLog in
Avatar of bujji mama
bujji mama

asked on

How to get RegEx function for multiple tax id numbers

I have a regex function like this

^[0-9]\\d?-\\d{7}+;+([0-9]\\d?-\\d{7})*$

But I have a long text field where I enter multiple tax id numbers with semicolon. How to modify or allow this feature. Sometimes I only enter one tax id. How to handle this
Avatar of Bill Prew
Bill Prew

What is the format of the taxid numbers?


»bp
Avatar of bujji mama

ASKER

00-1234567 (OR) 0-1234567
SOLUTION
Avatar of bujji mama
bujji mama

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
(\d{1,2}\-{1}\d{7}\;{0,1})?