Hi, I need a regular expression that starts at one unique tag and ends at another unique tag.
in html for instance, I want to replace starting at <html> until the tag <td class="qt"> (there is only ony like each in the string)
I thought that
's/<html>.*?<td class="qt">/replacement/g' would do the trick but it doesn't. Any ideas?
If it makes a difference, I'm using sed and there are multiple lines between the tags.