I am new to sublime text3 but started to like working in it.
I am using its search and replace to achieve as below:
I have a list of hundreds of items like the below :
5149 : Kaliana 5427 : Kalo Chorio 5036 : Kalo Chorio Kapouti 5071 : Kalo Chorio Sleas 5466 : Kalopanagiotis
But I want to replace these with
5149- 5427- 5036- 5071- 5466-
So basically the colon and the words should be replaced by a hyphen(-) symbol
I tried few regular expressions. for example : (?<=WORD).*$
but things aren't working.