So I have all these html documents that have strings of capital letter in various places in alt tags, title tage, link text...etc.
<li><a title='BUY FOOD' href="http://www.example.com/food.html'>BUY FOOD</a></li>
What I need to do is replace all letters except the first letter with lowercase letting. Like so:
<li><a title='Buy Food' href="http://www.example.com/food.html'>Buy Food</a></li>
Now how can I do this either in python or some form of regex. I was told that my editor Coda could do something like this. But I can't seem to find any documentation on how to do something like this.