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