<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><tt>Hi John,<br>
<br>
I guess you want to replace a line in the message body with
replace_body_all(), right ? Give it a test without the EOH :<br>
</tt><tt>replace_body_all("^s=xyz","s=abc");<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 02.01.2015 17:06, John Nash wrote:<br>
</div>
<blockquote
cite="mid:CAA4rGPyjOvQ+XDw3e-53K5K5MjrMnYidbUNdoaD72uC0VPShqw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>Has there been some recent changes to this function? I used
this function in version 1.6 fine but now not seem to be
working. I am trying very simple ..<br>
<br>
replace_body_all("^s=xyz\r\n","s=abc\r\n");<br>
<br>
</div>
But it does not work. I tried " strip_body()" and it worked as
expected.<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>