HackerRank Problem Link
JS Solution
let re = /^(Mr|Mrs|Ms|Dr|Er)(\.)([a-zA-Z])+$/;
Last updated 3 years ago
Was this helpful?