# Day 7: Regular Expressions II

### Problem Link <a href="#problem" id="problem"></a>

* [x] [**HackerRank Problem Link**](https://www.hackerrank.com/challenges/js10-regexp-2/problem)

### Solution

* [x] **JS Solution**

{% code title="regEx2.js" %}
```javascript
let re = /^(Mr|Mrs|Ms|Dr|Er)(\.)([a-zA-Z])+$/;
```
{% endcode %}
