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
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to