Josh King 7/25/2019

Normalizing Phone Numbers, Easier with Regex

Read Original

The article details the author's personal experience overcoming a fear of regular expressions (Regex). It walks through a practical use case: normalizing New Zealand cellphone numbers in Active Directory from a local format (e.g., 0271112222) to an international standard (+64 27 111 2222). The post explains the thought process, the tools used (like RegExr), and breaks down the Regex pattern construction, serving as a tutorial on applying Regex to a real-world IT data formatting task.

Normalizing Phone Numbers, Easier with Regex

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week