text: function matchDates(dates) {
      let pattern = /\b(?<date>\d{2})([-./])(?<month>[A-Z][a-z]{2})\2(?<year>\d{4})\b/g;
  
      while ((validDate = pattern.exec(dates)) !== null) {
          console.log(validDate);
          let date = validDate.groups.date;
          let month = validDate.groups.month;
          let year = validDate.groups.year;
          console.log(`Day: ${date}, Month: ${month}, Year: ${year}`);
      }
  }
  
  matchDates( 
      "13/Jul/1928, 10-Nov-1934, , 01/Jan-1951,f 25.Dec.1937 23/09/1973, 1/Feb/2016"	 
      );