Regex configure routing rules