0

I want to search and find all .html files that do not contain the words: "Use API site scope"

I try this, (?!>)(Use API site scope).* but I believe it must be another negative looke ahead

1 Answer 1

0

I find the answer:

(?s)\A(?!.*(Use API site scope).*$)

or

(?s)\A((?!Use API site scope).)+\z

or

(?s)\A(?!.*?(?<!\w)(Use API site scope)(?!\w)).*

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .