I need help with a regex. I would like to find (to replace it) the value in tag "a" but only if it is between the "START" and "END" comments. So in this case it should match 3.3.0:
<properties>
<!-- START -->
<a>3.3.0</a>
<b>34</b>
<!-- END -->
<c>11</c>
</properties>
In this case it should NOT match:
<properties>
<!-- START -->
<b>34</b>
<!-- END -->
<a>3.3.0</a>
<c>11</c>
</properties>
Just an note: Finally a want to replace the value of a in the first case using python re.
Thanks, Alex