Hi there, I am using sublime text since it supports regex in the search field. I am essentially running a match for:
\s6[0-9][0-9][0-9]\s
And then what I want to do is insert a new line (\n) in front of that (not replace it). My Sample data looks like:
6309 ,9044XXXXXXXXXX ,"Jul 8, 2013 5:49:36 AM",42 ,Others,Some Name 6207 ,901XXXXXXXXXX ,"Jul 8, 2013 6:13:50 AM",4 ,Others,Another Name 6211 ,9044XXXXXXXXXX ,"Jul 8, 2013 6:22:00 AM",24 ,Others,Onemore Name
And I want to get it to:
6309 ,9044XXXXXXXXXX ,"Jul 8, 2013 5:49:36 AM",42 ,Others,Some Name
6207 ,901XXXXXXXXXX ,"Jul 8, 2013 6:13:50 AM",4 ,Others,Another Name
6211 ,9044XXXXXXXXXX ,"Jul 8, 2013 6:22:00 AM",24 ,Others,Onemore Name
The issue I have , is that since each line may have a different 6XXX number, I cannot just replace 6XXX with \n6XXX - unless there is some way to pass the actual match over and reinsert itâŚ
Any ideas?
Thanks!