Arun Vijay
Arun Vijay

Reputation: 121

Notepad++ regular expression to remove numbers from the beginning of each line

I want to remove numbers from the beginning of each line.

Sample Lines:

8399 YOUNG,TEWONIA A \ 18180 
17 ABERNATHY,NED V \ 9045 
627 BARTON,SCOTT D \ 2845 
7 ABBOTT,EWARD JR, A \ 88256 

After remove:

YOUNG,TEWONIA A \ 18180 
ABERNATHY,NED V \ 9045 
BARTON,SCOTT D \ 2845 
ABBOTT,EWARD JR, A \ 88256 

Thanks in advance!

Upvotes: 0

Views: 446

Answers (2)

vks
vks

Reputation: 67968

^[0-9]+\s*

Try this.Replace by empty string.

Upvotes: 1

Avinash Raj
Avinash Raj

Reputation: 174696

Simple,

^\d+\s*

OR

^\d+\s+

use the above regex and then replace the match with an empty string.

DEMO

Upvotes: 1

Related Questions