Filter certains words with certain file extensions

Tips on writing regular expressions for searching the post list

Moderators: Quade, dexter

Filter certains words with certain file extensions

Postby ezdropper » Sun Dec 26, 2021 6:09 pm

I want to be able to filter anything that contains certains words like sample, example, or preview and ends with a .rar .zip or .7z extension.

Any help would be appreciated.
User avatar
ezdropper
n00b
n00b
 
Posts: 6
Joined: Sat Dec 24, 2005 8:53 am

Registered Newsbin User since: 03/25/13

Re: Filter certains words with certain file extensions

Postby Quade » Mon Dec 27, 2021 12:12 pm

Filter from what? From view, NZB's or from download?

(sample|preview).*[.](zip|rar|7zip)

Might do it but it depends where and what you're filtering.
User avatar
Quade
Eternal n00b
Eternal n00b
 
Posts: 44999
Joined: Sat May 19, 2001 12:41 am
Location: Virginia, US

Registered Newsbin User since: 10/24/97

Re: Filter certains words with certain file extensions

Postby ezdropper » Mon Dec 27, 2021 8:50 pm

Quade wrote:Filter from what? From view, NZB's or from download?

(sample|preview).*[.](zip|rar|7zip)

Might do it but it depends where and what you're filtering.


I wanted to show only posts that contain those words ending with those file extensions. It worked, thanks!
User avatar
ezdropper
n00b
n00b
 
Posts: 6
Joined: Sat Dec 24, 2005 8:53 am

Registered Newsbin User since: 03/25/13


Return to Regular Expressions

Who is online

Users browsing this forum: No registered users and 13 guests