[SR-Users] Text Operations on a Message
AliReza Khoshgoftar Monfared
khoshgoftar at gmail.com
Thu Aug 14 20:59:42 CEST 2014
Hi list,
How can I extract a specific part of my message body?
I know that "textops" has the function "search_body(re)" but it returns
True/False upon finding "re" in the body of the text, how can I return the
actual text that regular expression matches?
As an example, my message body is
rate is 172#012
I want to extract the number "172" out of this.
Thanks
Alireza
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140814/35a9d125/attachment.html>
More information about the sr-users
mailing list