5
1
how to delete lines not contaning :
match1:follow
Star3:night
master
Hunt:Bock3
Roll
want to keep only lines with :
5
1
how to delete lines not contaning :
match1:follow
Star3:night
master
Hunt:Bock3
Roll
want to keep only lines with :
3
All lines containing : will be highlighted.
Voila!
Reference: https://stackoverflow.com/a/8231096/8307806
Thanks to Colin
thanks so much Máté Juhász its get the job done i appreciate it – DeathRival – 2017-07-11T10:43:33.207
If you're interested in how that works,
[^:]
matches any character except a colon so the while thing matches lines where every character is not-a-colon. – Darael – 2017-07-11T11:28:55.047