getivan

UK Local Phone Number Regex

Nov 18th, 2020 (edited)
175
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. UK Phone Numbers 1
  2. 07911 123456
  3. \d{5} \d{6}
  4.  
  5. UK Phone Numbers 1.1
  6. 07911-123456
  7. \d{5}-\d{6}
  8.  
  9. UK Phone Numbers 2
  10. 01355 221 113
  11. \d{5} \d{3} \d{3}
  12.  
  13. UK Phone Numbers 2.1
  14. 01355-221-113
  15. \d{5}-\d{3}-\d{3}
  16.  
  17. UK Phone Numbers 3
  18. 0191 488 7288
  19. \d{4} \d{3} \d{4}
  20.  
  21. UK Phone Numbers 3.1
  22. 0191-488-7288
  23. \d{4}-\d{3}-\d{4}
  24.  
  25. UK Phone Numbers 4
  26. 020 8088 3278
  27. \d{3} \d{4} \d{4}
  28.  
  29. UK Phone Numbers 4.1
  30. 020-8088-3278
  31. \d{3}-\d{4}-\d{4}
  32.  
  33. UK Phone Numbers 5
  34. 01914 88 7288
  35. \d{5} \d{2} \d{4}
  36.  
  37. UK Phone Numbers 5.1
  38. 01914-88-7288
  39. \d{5}-\d{2}-\d{4}
  40.  
  41. UK Phone Numbers 6
  42. 01914 8 87 288
  43. \d{5} \d{1} \d{2} \d{3}
  44.  
  45. UK Phone Numbers 6.1
  46. 01914-8-87-288
  47. \d{5}-\d{1}-\d{2}-\d{3}
  48.  
  49. UK Phone Numbers 7
  50. 01914 8 7288
  51. \d{5} \d{1} \d{4}
  52.  
  53. UK Phone Numbers 7.1
  54. 01914 8 7288
  55. \d{5} \d{1} \d{4}
RAW Paste Data