Update utils.py

Need to add backslash to escape the '-' character in regular expression