I want to remove title attributes in html. but just if the title value has '<' character.
Text to clean: <a href="" title="bla bla bla" /><a href="" title=" bla bl<a bla" />
Output text: <a href="" title="bla bla bla" /><a href="" />
As you can see second title removed from the text because title value contains < char.
pls help