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