Auto formatting and censoring/filtering of text in an input or textarea