Page 1 of 1

Blocking file names with 20 + hex characters

PostPosted: Wed Apr 14, 2004 4:05 pm
by MRB
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)

PostPosted: Thu Apr 15, 2004 12:24 am
by Smite
[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

PostPosted: Sun Apr 18, 2004 9:30 am
by MRB
Thanks. I'll give that a try. :P