Remove text between brackets

How can I use bash to remove all text between "<" and ">" in a file?

hi,

cate file name | sed 's/<[^>]*>//g'

I hope this works for your requirement

1 Like