You need to use multi-line (?m) flag to match multiple line. You can also use Ignore case i.andry81 wrote: 2025-05-22, 01:12 UTC Tried to search bat files for multi line comments:
Plugin: Property: OP: Value:
pcresearch Random String regex (?s)(rem[^\r\n]*\r?\n){3,}
The following expression should work.
Code: Select all
(?mi)(rem[^\r\n]*\r?\n){3,}