Last active
September 30, 2026 12:57
-
-
Save morrismukiri/920494322a47d9485bbc to your computer and use it in GitHub Desktop.
Kenyan phone number regular expression
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /(0|+?254)7(\d){8}/ |
(+?2547\d{8}|07\d{8}|+?25411\d{7}|011\d{7})
Finance assignments often require accurate calculations, financial analysis, relevant research, and clear academic writing. Students handling challenging coursework may find Finance Assignment Help UK useful for understanding complex concepts, organising their ideas, reviewing drafts, and improving the overall clarity of their academic work.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Works with Java, but you can probably simplify them further.
Safaricom
(\\+?254|0)?([7][0129][0-9]|[7][4][0123568]|[7][5][789]|[7][6][89]|[1][1][012345]){1}[0-9]{6}Airtel
(\\+?254|0)?([7][38][0-9]|[7][5][0123456]|[7][6][2]|[1][0][012345678]){1}[0-9]{6}Telkom
(\\+?254|0)?(77[0-9]){1}[0-9]{6}Faiba
(\\+?254|0)?(747){1}[0-9]{6}Equitel
(\\+?254|0)?(76[3456]){1}[0-9]{6}