Fix the duplicate issue by split of multiple regexes