I have a SQL dump with expressions such as youtubehd:2nj6bykw
. The 2nj6bykw
can also be a different random string. It is always 8 characters long.
I want to replace youtubehd:2nj6bykw
with just youtubehd
.
How can I do this without replacing it manually, one by one? The SQL dump is over 230000 lines long and has about 200 occurrences of these strings.
I suppose I need a wildcard, but I have no clue about what it is and how I can do this.