To place words in word document which starts and end with a character

How do i replace words in word document which starts with “<” and end with “>” .

e.g. < leftover > , < stillonemore >

I wanna replace them into “” .

Replace “<”…">" with " "

@TyraS - you can you try with regex -

Regex.Replace(YOUR VARIABLE, "<(.|\n)+?>", String.Empty)
1 Like