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