E
E
Evgeny Matveev2020-04-15 23:13:20
Regular Expressions
Evgeny Matveev, 2020-04-15 23:13:20

How to find out that a substring is not in the text?

I want to find web pages that are not fully loaded by the program, for this you need to determine that the tag is not present in the text important! without using PHP or other languages, only regular expression </body>

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
dodo512, 2020-04-15
@ematveev

(?s)^(?!.*</body>)

R
Rsa97, 2020-04-15
@Rsa97

substring_is_not_in_text === NOT(substring_is_in_text)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question