Saying that I have such a file as below:
<random_string>hello<random_string>
random_string<random_string>hello<random_string>
I want to remove the first square bracket and its content so that the file becomes:
hello<random_string>
random_stringhello<random_string>
How could I achieve this?
I've tried to execute :%s/<.*>// but it will remove all things I think it's because it matches the last > for each line.