Hello everyone
I have a field to store the insurance card number according to the companies. Each insurance company has a special pattern in numbering its subscribers' cards as follows:
1. Company A
Yyy*xxxxxxxx
Yy*xxxxxxxxx
Y*xxxxxxx
2. Company B
Xxxxxxx*y
Xxxxxxx*yyy
Xxxxxxxx*yyy
3. Company C
Xxxxxxxx
Xxxxx
Xxxxxxx
And so on
Other details
Y: is the policy number
X: is the subscriber's card number
Note that the numbers y often range between 1 and 3 digits only
While the numbers x range between 4 and more than ten digits
What is required is to separate the numbers into two independent fields
1. The policy
2. The subscriber's card number
I have a field to store the insurance card number according to the companies. Each insurance company has a special pattern in numbering its subscribers' cards as follows:
1. Company A
Yyy*xxxxxxxx
Yy*xxxxxxxxx
Y*xxxxxxx
2. Company B
Xxxxxxx*y
Xxxxxxx*yyy
Xxxxxxxx*yyy
3. Company C
Xxxxxxxx
Xxxxx
Xxxxxxx
And so on
Other details
Y: is the policy number
X: is the subscriber's card number
Note that the numbers y often range between 1 and 3 digits only
While the numbers x range between 4 and more than ten digits
What is required is to separate the numbers into two independent fields
1. The policy
2. The subscriber's card number