<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hello Everyone</div><div><br></div><div>Is it possible to do regex match in opensips configuration file?</div><div><br></div><div>Let's say we have 12125789000 and we have regex expression</div><div><br></div><div>^(\+1|1)?([2-9][0-9][0-9][2-9][0-9][0-9])([0-9]{4})$</div><div><br></div><div>then the result would be</div><div><br></div><div>Group #1: 1</div><div>
Group #2: 212578</div><div>
Group #3: 9000 <br></div><div><br></div><div>Need to take
Group #2 value in $var(x).</div><div><br></div><div>Thanks<br></div></div></div></div></div>