So basically I'm wanting to make a 'cut' menu item for each specific area of a textbox, for example: 'cut left' (numbers on image) 'cut right' (symbols on image) 'cut middle' (letters on image). I'm also looking to make a 'clean' menu item which removes all symbols from the textbox - how would I achieve these two things?

cut tool sample.txt