PowerShell - Strip Html Tags From a String
Here’s a one-liner:
$myStr -replace "<.*?>"
Explanation
With the above line, we are removing every shortest set of symbols within triangle brackets. The word shortest is very important here. Have a look at this wiki page for more information about greedy and lazy matching, under Lazy quantification.