I want to find a file that contains either five or six digits,use:regex:content:<\b[0-9{5}\b|\b[0-9{6}\b>
show The syntax is incorrect
How to use "or" in content?
Re: How to use "or" in content?
Please escape | with double quotes ("), otherwise Everything will treat | as the OR operator:
regex:content:"\b\d{5}\b|\b\d{6}\b"
-or-
regex:content:\b\d{5,6}\b
PCRE Repetition
regex:content:"\b\d{5}\b|\b\d{6}\b"
-or-
regex:content:\b\d{5,6}\b
PCRE Repetition