@eschwartz--
Quote:
<span class="none2">((? ?!<span).)*?)</span>
|
1. Can you explain how the negative look ahead works, including breaking down the pieces of the RE?
2. Many times when I'm cleaning an epub, removing unneeded 'class=" ... " ' in <span class="..."> I'll eventually end up with a lot of <span>.....</span> constructs. It appears that your RE is better than the more simplistic RE I was using to just remove them
Thanks