List Info

Thread: Regex to find lines that DON'T have a pattern




Regex to find lines that DON'T have a pattern
user name
2006-04-29 22:30:00
Hi. I'm a total Regex newbie, and I have a question...

I'm looking through a text dump file of all of the movies
on IMDB. This
file includes TV shows and TV movies, which I want to omit.
Lines that contain either of these have "(TV)"
in them.

What regex do I use to find lines that don't have
"(TV)" in them? I'm
using grep, which I'm also new to.

Thanks!
-Bassam


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to
regex-unsubscribegooglegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---

Regex to find lines that DON'T have a pattern
user name
2006-04-29 23:00:44
Nevermind. Found out that it's the -v option.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regexgooglegroups.com
To unsubscribe from this group, send email to
regex-unsubscribegooglegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )