View an AS - remove AS or Space on text paste

View an AS - Remove 'AS' or ' ' (Space) on text paste into text box