My JavaScript is quite rusty so any help with this would be great. I have a requirement to detect non printable characters (control characters like SOH, BS etc) as well exte
No need to test, you can directly process the text box content:
textBoxContent = textBoxContent.replace(/[^\x20-\x7E]+/g, '');
where the range \x20-\x7E covers the printable part of the ascii table.
Example with your code:
$('.jsTextArea').blur(function() {
this.value = this.value.replace(/[^\x20-\x7E]+/g, '');
});