Search and replace problem
-
Hello fellow Notepad++ Users,
Could you please help me with the following search-and-replace problem I am having?
I have a file with a list of ham radio users in the following format:
2220001,IK0YYY,Luca_Roma_Lazio_2220001
2220002,IK0YYY,Luca_Roma_Lazio_2220002
2220003,IW0BEC,Eugenio_Roma_Lazio_2220003
2220004,IT9LRZ,Giovanni_Roma_Lazio_2220004I need to remove the last underscore and the adjacent 7-digit number so that the end risult will be:
2220001,IK0YYY,Luca_Roma_Lazio
2220002,IK0YYY,Luca_Roma_Lazio
2220003,IW0BEC,Eugenio_Roma_Lazio
2220004,IT9LRZ,Giovanni_Roma_LazioObviously I’m not very expert with expressions so any help will be much appreciated.
Thank youMike
-
FIND =
_\d{7}
REPLACE = empty
SEARCH MODE = regular expression----
Useful References
-
Thank you so much
Mike