Blocking file names with 20 + hex characters

Tips on writing regular expressions for searching the post list

Moderators: Quade, dexter

Blocking file names with 20 + hex characters

Postby MRB » Wed Apr 14, 2004 4:05 pm

I'm trying to block posts with 20+ hex characters as the file name, I've have several unsuccesful tries, mainly due to my lack of knowledge of regular expressions. (*nix was a long while back for me and never a mainstream part of work)

Any help gladly recieved.

Thanks, Malcolm. 8)
MRB
n00b
n00b
 
Posts: 2
Joined: Wed Apr 14, 2004 4:00 pm

Registered Newsbin User since: 12/10/02

Postby Smite » Thu Apr 15, 2004 12:24 am

[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9] would probably work
Please read the FAQ before asking any questions.
If you're new to newsgroups, and the files on them, you can find a very helpful guide here.
User avatar
Smite
Katamari Damacy Addict
 
Posts: 5318
Joined: Sat May 19, 2001 1:54 am
Location: Alberta, Canada

Registered Newsbin User since: 03/27/03

Postby MRB » Sun Apr 18, 2004 9:30 am

Thanks. I'll give that a try. :P
MRB
n00b
n00b
 
Posts: 2
Joined: Wed Apr 14, 2004 4:00 pm

Registered Newsbin User since: 12/10/02


Return to Regular Expressions

Who is online

Users browsing this forum: No registered users and 2 guests