text: /* Author: Madhur Gupta
     Github: github.com/guptamadhur
     Project: Hacker Rank 10 Days of Javascript
  */
  
  function regexVar() {
      /*
       * Declare a RegExp object variable named 're'
       * It must match a string that starts with 'Mr.', 'Mrs.', 'Ms.', 'Dr.', or 'Er.',
       * followed by one or more letters.
       */
      var re = /^(Mr\.|Mrs\.|Ms\.|Dr\.|Er\.)[a-zA-Z]+$/;
  
      /*
       * Do not remove the return statement
       */
      return re;
  }