10 Days of JavaScript (Day 7) HackerRank Solutions #10daysofjavascript
DAY 7: Regular Expressions I Solution >>> function regexVar() { let re = /^([aeiou]).+\1$/; return re; } DAY 7: Regular Expressions II Solution >>> function regexVar() { let re = /^(Mr|Mrs|Ms|Dr|Er)(\.)([a-zA-Z])+$/; return re; } DAY 7: Regular Expressions III Solution >>> function regexVar() { let re = /\d+/g; return re; }