add regular expression based text generator