I want to allow the basic characters AZ, az,0-9 , and the main special characters ~`` !@ #$%^&*()_+-=[]{};'\:"|,./<>? availalbe on a standard English keyboard for entering text area only.Seek help!
AZ, az,0-9
~`` !@ #$%^&*()_+-=[]{};'\:"|,./<>?
Example:
$('#text_area_id').keyup(function() { $(this).val($(this).val().replace(/[^A-Za-z0-9~` !@ #$%^&*()_+-=\[\]{};'\\:"|,.\/<>?]/g,'')) });
Try looking in this thread: Regular expression in jQuery