/ is used to surround the actual regex, i and S are modifiers for case insensitivity and to strip out control codes (color, bold, etc.)