Fixed research regular expression generator