Gossamer Forum
Home : Products : Gossamer Links : Discussions :

correct regular expression for file-fields

Quote Reply
correct regular expression for file-fields
I have seen, that the regular expression for files in LSQL 2.12 like that:

^(?:|.*\.(?i:gif|png|jpeg|jpg))$ gives me some errors (deleate doesn't deleate the file and so on).

What regular expression do I need, if I want to allow only [a-zA-Z0-9_] and - (Minus)?

Especcially the δόφ should NOT be used.

Thanks a lot for your help,
Christian