multiline regex with comments code example Example: Regex to match a multiline comment ((\/)([\*][\*]?)(.|\n)*?\3\2)|(\/\/.*)