HypedGaming
11-21-2008, 08:40 PM
I've noticed some bots always use certain things in the custom fields so I thought I would try to disallow those certain strings in the custom fields, but I can't really get it to work.
I've been trying:
[^(123456)]
It needs to match anything that is:
NOT 1, OR NOT 123456
OR AN EMPTY STRING
That code will work for the first requirement, but not for the second. I have the field set the not required, so I don't know why it's even checking when it's empty. I'm not sure if this is a bug (or feature :P) of vBulletin, but I was hoping if someone could help me with the regular expression to match said requirements.
Using vBulletin 3.6.*
I've been trying:
[^(123456)]
It needs to match anything that is:
NOT 1, OR NOT 123456
OR AN EMPTY STRING
That code will work for the first requirement, but not for the second. I have the field set the not required, so I don't know why it's even checking when it's empty. I'm not sure if this is a bug (or feature :P) of vBulletin, but I was hoping if someone could help me with the regular expression to match said requirements.
Using vBulletin 3.6.*