I would like to erase or replace in data exactly this: ": 20.08.2015 "
sample of data:
: 20.08.2015 02:39:26 : '' 0 1
: 20.08.2015 02:39:26 : '' 0 1
: 20.08.2015 02:39:26 : '' 0 1
: 20.08.2015 02:39:26 : '' 0 1
: 20.08.2015 02:39:26 : '' 0 1
: 20.08.2015 02:39:26 : '' 1 0
: 20.08.2015 02:39:27 : '' 1 0
: 20.08.2015 02:39:27 : '' 1 0
: 20.08.2015 02:39:27 : '' 0 1
: 20.08.2015 02:39:27 : '' 1 0
: 20.08.2015 02:39:27 : '' 0 1
: 20.08.2015 02:39:27 : '' 0 1
: 20.08.2015 02:39:30 : '' 1 0
: 20.08.2015 02:39:30 : '' 0 1
: 20.08.2015 02:39:31 : '' 1 0
after replace it should be:
02:39:26 : '' 0 1
02:39:26 : '' 0 1
02:39:26 : '' 0 1
02:39:26 : '' 0 1
02:39:26 : '' 0 1
02:39:26 : '' 1 0
02:39:27 : '' 1 0
02:39:27 : '' 1 0
02:39:27 : '' 0 1
02:39:27 : '' 1 0
02:39:27 : '' 0 1
02:39:27 : '' 0 1
02:39:30 : '' 1 0
In pspad I can do it with expression "^(.*?).([0-9]+? )" but in cmd it doesn't work.
I added escape char in front of special characters.
My try is: "sed -i "s/(.*?).([0-9]\+?\ )//g
" file.log
What's wrong?