How can i extract date from a string where date format is dd-mmm-yyyy (01-dec-2020) in java script using regular expression.