seqRegex implemented
refactor code -> only one function to create regex