Thanks for advice, but I want to change something like this:<br><br> From: "Some user" <<a href="mailto:sip%3Axxxxxx@domain.com">sip:xxxxxx@domain.com</a>><br><br> to:<br><br> From: <a href="mailto:sip%3Axxxxxx@domain.com">sip:xxxxxx@domain.com</a><br>
<br> We don't need info inside quotation marks, and quotation marks themselves. And my regullar expression does not cut something like "tag=..." and so on, because it does not contain "^" and "$". As I think, it pretty harmless.<br>
<br><div class="gmail_quote">2009/11/2 Iñaki Baz Castillo <span dir="ltr"><<a href="mailto:ibc@aliax.net">ibc@aliax.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
El Lunes, 2 de Noviembre de 2009, Alexander escribió:<br>
<div class="im">> subst("/^From: \".+\" (<sip: *[a-zA-Z0-9_\.-]+@.*>)/From: \1/ig");<br>
<br>
</div>I don't like it as a From URI could be a TEL or SIPS URI, and the username<br>
part can contain other characters as ;.<br>
Also, using < > is NOT required in a FROM URI, so this would fail if