in reply to pattern matching question

Hi jxia.

The '*' quantifier matches as many characters as it can (zero or more). The '.' implies any character except a newline. You can disable greediness by including a '?' to the end of your regex pattern. Suggestion: Don't use '#' in a pattern match or replacement. It looks like a comment and can frustrate debugging efforts.

Hope this helps,
-Katie.