I am creating a small comment section for a small portal and was wondering what the best way of implementing regular expression is for a textarea lto allow users to eave comments.
Ideally i would allow anything that isnt code i.e. <img sr="" etc.. however my expression isnt workig very well
if fails on [enters] char(13) i was wondering if anyone has had this problem before and has a strong regular expression that would not break a database by allowing misc chard through, but at the same time allows users to type freely including £, !, & ? etc..
comment "/^[0-9A-Za-z_.!?, \s]{1,1125}$/"
regards