Skip to content

meid ​

Validates a MEID (Mobile Equipment Identifier) used in CDMA devices.

Options ​

OptionTypeDefaultDescription
messagestringlocale defaultCustom error message

Playground ​

Valid values ​

ValueNotes
"A10000009296F2"Valid 14-char hex MEID

Invalid values ​

ValueReason
"Z10000009296F2"Z is not a valid hex digit in MEID
"12345"Too short

Notes ​

  • Empty string ("") always returns valid: true. Combine with notEmpty to require a value.
  • MEID is 14 hexadecimal characters. The decimal representation is 18 digits.

Released under the MIT License.