Identifications

IMEI

Validates the input is a IMEI(International Mobile Equipment Identity)

v.val("35-209900-176148-1", "is IMEI"); //true

IMEISV support

v.val("35-209900-176148-12", "is IMEISV"); //true

ISBN

Validates the input is a ISBN(International Standard Book Number)

v.val("978-0-596-52068-7","is ISBN"); // true

UUID

Validates the input is a valid UUID (Universally unique identifier)

v.val("eb3115e5-bd16-4939-ab12-2b95745a30f3", "is UUID");

MAC address

Validates the input is a valid MAC address

Passport (Comming soon)

Valiates the input is a valid Passport number of People's Republic of China

Redident Identification Card(PRC)

Valiates the input is a valid Resident Identification Card number of People's Republic of China

We have a plan to add locale setting in Rebb Val, you can set your locale and this rule will use different validation rules to check the input.

Last updated

Was this helpful?