Text Inputs

To create a replace-as-you-type inputs, which disallow certain characters.

Each of these inputs disallows the typing of certain characters. To test, try copying the text below and pasting it several times into each input.


abc\&;,/~2.10.01!@<£è


Textarea

To create a textarea which expands as you type.
Usability
Any 'replace-as-you-type' method should be used sparingly, but it is much better than popping up an alert while they type.
Dependencies
jQuery
Browser Support
IE9+, Edge, Firefox, Chrome.
Size
2k

See the Pen Inputs with restricted values by btn.ninja (@btn-ninja) on CodePen.