Filtering out material

Tips on writing regular expressions for searching the post list

Moderators: Quade, dexter

Filtering out material

Postby re838uk » Wed Nov 02, 2011 7:21 pm

Is there anyway to filter out all content that shows up more than say x times and the only difference in the subject name is a common string followed by number out of a total number.

ie.
file1 1 of 10
file1 2 of 10
file1 3 of 10...
....
file1 10 of 10.

file2 1/100
file2 2/100
file2 3/100...

or even just a string followed by a change in number

file3 1.avi
file3 2.avi
file3 3.avi

Thanks.
re838uk
Active Participant
Active Participant
 
Posts: 92
Joined: Thu Mar 19, 2009 11:14 am

Registered Newsbin User since: 03/19/09

Re: Filtering out material

Postby DThor » Wed Nov 02, 2011 9:06 pm

If I follow you, what you're describing isn't filtering, it's processing. In other words, you're picking out multiple entries and replacing them with a custom template. That's not what regex does on it's own, afaik.

Really, that's akin to what Newsbin already does with file sets.

DT
V6 Troubleshooting FAQ . V6 docs. Usenet info at Usenet Tools. Thanks!
User avatar
DThor
Elite NewsBin User
Elite NewsBin User
 
Posts: 5943
Joined: Mon Jul 01, 2002 9:50 am

Registered Newsbin User since: 04/01/03


Return to Regular Expressions

Who is online

Users browsing this forum: No registered users and 0 guests