Regular Expressions 101

Community Patterns

Asterisk channel name

2

Regular Expression
PCRE (PHP <7.3)

/
[A-Z]*\/?([^@]*)
/

Description

Extract channel name from Asterisk channel line

Submitted by Denis Bondar - 8 years ago