cant figure out the right regular expressions

Tips on writing regular expressions for searching the post list

Moderators: Quade, dexter

cant figure out the right regular expressions

Postby Semel » Tue Jun 29, 2010 1:59 pm

what will be the alternative in regular expressions of this(boolean)
EFNet&(x264|720|1080)
(download subjects that contain efnet AND (x264 OR 720 OR 1080)

something like this - efnet.+(264.|720.|1080.) ? or there is a better version=)
Semel
Seasoned User
Seasoned User
 
Posts: 317
Joined: Mon Feb 04, 2008 6:08 am

Registered Newsbin User since: 01/25/09

Postby Quade » Tue Jun 29, 2010 4:22 pm

efnet.*(x264|720|1080)

So, "efnet followed by anything that has either x264,720 or 1080 in it". Efnet will have to be before the rest for this though. If you want both before and after. I'd add a second one.

(x264|720|1080).*efnet


(efnet.*(x264|720|1080) )|((x264|720|1080).*efnet)

Should catch both before and after.



You can test these using "Local Search" or loading the group and just typing them into the find box.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 42038
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Postby Semel » Tue Jun 29, 2010 5:39 pm

Thank you

Works great
Semel
Seasoned User
Seasoned User
 
Posts: 317
Joined: Mon Feb 04, 2008 6:08 am

Registered Newsbin User since: 01/25/09


Return to Regular Expressions

Who is online

Users browsing this forum: No registered users and 2 guests