Re: changing HTML elements in certain unordered lists

2017-07-30 Thread Kerri Hicks
You *can* write a regex to change this, but I'm curious, why not just address it in the CSS, without any changes to the HTML? If you want to apply some styles to every that's inside a , but not li elements in other ul elements, you can target them in the CSS -- say you want a bottom border on eve

changing HTML elements in certain unordered lists

2017-07-30 Thread Dennis Chesters
We have many HTML file with many special unordered lists and want to change the elements in just those lists to . So, this involves finding the multi-line block of text constituting the list, and replacing the tags. I tried grepping a list into 5 chunks: 1) the string, 2) everything between