Yate Community Forum

General Category => Yate users hangout place => Topic started by: xyswitchz on April 10, 2018, 07:09:27 AM

Title: string parsing in regexroue
Post by: xyswitchz on April 10, 2018, 07:09:27 AM
Hi

in regexroute I have

^.*$=echo answered ${id}

if ${id} is sip/21

how can I can i extract '21' from it?
Title: Re: string parsing in regexroue
Post by: marian on April 11, 2018, 12:55:50 AM
${id}^sip/\(.*\)$=echo \1