RebbVal
EN
EN
  • Getting Started
  • Overview
  • Concepts
  • List of rules
    • Age
    • Array
    • Boolean
    • Comparions
    • Composite
    • Datetime
    • Identifications
    • Internet
    • Localization
    • String
Powered by GitBook
On this page
  • IMEI
  • ISBN
  • UUID
  • MAC address
  • Passport (Comming soon)
  • Redident Identification Card(PRC)

Was this helpful?

  1. List of rules

Identifications

PreviousDatetimeNextInternet

Last updated 3 years ago

Was this helpful?

All rules in this page can be applies to string

IMEI

Validates the input is a IMEI()

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()

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

UUID

Validates the input is a valid UUID ()

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

MAC address

Validates the input is a valid

v.val("00:11:22:33:44:55","is MAC"); // true

Passport (Comming soon)

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

v.val("G12345678","is passport"); // true

Redident Identification Card(PRC)

v.val("110100199909093245","is ID"); // true

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.

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

International Mobile Equipment Identity
International Standard Book Number
Universally unique identifier
MAC address
Resident Identification Card