How to remove part of line after “:” in Notepad++

notepad

I want to delete first part of email:pass. Keeping everything after ":"

EXAMPLE:
test0@aol.com:a59e1bbbdb3bd9d8e6be1651ac59ca5f
to
a59e1bbbdb3bd9d8e6be1651ac59ca5f

Best Answer

Applying Zoredache answer in comment:

In "Search and Replace" dialogue box (Press Ctrl+H)

Under "Search Mode", Choose "Regular Expression"

Under "Find What: ", paste

^.*:

Click "Replace All"


Explanation of PCRE

^ Beginning of the string

. Any character

* Zero or more previous character (greedy)

Related Question