Marked beforePaste as deprecated.
Allow wildcards and regex in filter validators.