Y
Y
Yoshinon Eared2017-08-09 11:57:39
Regular Expressions
Yoshinon Eared, 2017-08-09 11:57:39

How to use regular expressions to select all lines that are missing a certain word?

Actually, if a certain list of lines is in the format:
строка значение
One from the other is separated by a tab.
You need to remove all lines that do not contain a specific pattern in the regular expression.
I have heard a lot about (?!:...) and others like it, but no matter how I try to prescribe them, it does not give a result.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
4
4iloveg, 2017-08-23
@Aquinary

Hold on:
https://regex101.com/r/bim45f/4
and even more accurate
https://regex101.com/r/bim45f/5

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question