jQuery extension to restrict user input, based on a single key event, using regexp.

usage…