How can I use regular expressions in Textpad to remove anything, line by line, before specified characters?

StackOverflow https://stackoverflow.com/questions/21587482

  •  07-10-2022
  •  | 
  •  

Pregunta

aaaaa1bbbbb
ccccc2ddddd
eeeee3fffff

I want to remove all characters before numbers, after replacing file, it should look like

bbbbb
ddddd
fffff
¿Fue útil?

Solución

In Find and Replace dialog box enter these values:

  1. Find what : ^[a-z]+[0-9]
  2. Replace with : Do not enter anything
  3. Make sure to select Regular Expression checkbox.
  4. Hit Replace All
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top