How to delete the text between "<>" and "<>" if the text length is less 30 characters?
For example text contains:

<>Home<>
<>U.S.<>
<>World<>
<>Politics<>
<>Business<>

<>Health<>
<>SciTech<>
<>Entertainment<>

<>Virgin Galactic is offering tickets aboard SpaceShipTwo spaceliners for an initial price of about $200,000, though Branson said the cost is expected to drop after the first five years of operations.<>

<>The space tourism firm plans to eventual launch flights out of a terminal at New Mexico's Spaceport America, with additional trips through the aurora borealis to be staged from Kiruna, Sweden.<>