Skip to content

Conversation

kishansinghifs1
Copy link

feat(isMobilePhone): add support for Cambodia (km-KH)

This PR adds validation support for Cambodian phone numbers (km-KH) in isMobilePhone.
The regex ensures proper matching for Cambodian numbers starting with +855 or 855 followed by 8–9 digits (not starting with 0).

Added
New regex for Cambodia: 'km-KH': /^(+?855)([1-9]\d{7,8})$/,
Unit tests for valid and invalid Cambodian phone numbers.

Checklist

PR contains only related changes (no stray files)
README updated (if needed)
Tests written and passing
References provided

Fixes #2589

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add mobile validation for Cambodia
1 participant