if you do expresion="^(\whatever)@(whatever)$" $1 will be the id @ will be ignored $2 the ip/domain/hostname hope this helps ----- Original Message ----- From: "Thomas Hoellriegel" <admin@blindi.net> To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org> Sent: Friday, May 13, 2011 2:50 PM Subject: Re: [Freeswitch-users] question how to cut a string from a variable in fs? Hi Michael, Sorry, i don.t find a command to cut digits for example: I like to remove a sipheader in a variable. cut all strings afer the @ character, und remove the @ character. I search on: http://wiki.freeswitch.org/wiki/Regular_Expression A description can.t be fine. Do you have a string please? thank you --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc --------------------------------------------------------------------------------
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org