cancel
Showing results for 
Search instead for 
Did you mean: 
jalinux
Level 7

Check text pattern

Hi,

I need to check a text pattern for account number BANK 16 digit that start with a number 0/1 follow by 15 numbers .

regular expression : [0-1]\d{15}

correct me if i'm wrong format regular expression

im check and use no validation method = matched found 1

im  check and use Luhn 10                       = Validate found 0

please see the attachment for detailed

Regard's

Rizalnr

0 Kudos
1 Reply
vimalnavis
Level 13

Re: Check text pattern

The RegEx format works. Luhn10 is primarily meant to be used for Credit Cards and not for Bank Account Numbers (unless the Bank Account Number validates a MOD10/Luhn10 algorithm).

0 Kudos