I found out that for ex. to delete 2 last characters this can be used:
..$ and replace with nothing.
One more question:
If on end of line I have numbers with different length for ex. from 1 to 4 numbers how can I delete only those numbers.
qqqqq112
wwwww2345
eeeee1
etc