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