Day 7: Regular Expressions II

Problem Link

Solution

regEx2.js
let re = /^(Mr|Mrs|Ms|Dr|Er)(\.)([a-zA-Z])+$/;

Last updated

Was this helpful?