> On Oct 7, 2020, at 5:24 PM, Frank DiGennaro <fr...@digennaro.com> wrote: > > I went back and made the changes Noel Jones suggested Like so.
But these are not what Noel suggested: > /^[0-9]+@fax.mobilepbx.net/ asterisk > /^[0-9]+@mobilepbx.net/ asterisk > > This now works. Thank you very, very much. - The "." characters are NOT escaped, they should be "\." not just ".". - The domain name is not anchored at the end, it should be "\.net$" not "\.net" That is: /^[0-9]+@fax\.mobilepbx\.net$/ asterisk /^[0-9]+@mobilepbx\.net$/ asterisk And, you generally should specify an explicit "@domain" qualifier for the RHS "asterisk" result, though if you're sure that "$myorigin" will always continue to be the correct domain suffix, this will work as written. -- Viktor.