try
http://www.regular-expressions.info/
all info that you need about regular expressions.
hope this helps
From: "Frank Wakelin" <fwakelin@cbvcollections.com>
Reply-To: "User questions and discussions about OTRS.org" <otrs@otrs.org>
To: "User questions and discussions about OTRS.org" <otrs@otrs.org>
Subject: [otrs] Postmaster Filter / RegExp Question
Date: Thu, 19 Jul 2007 11:40:12 -0700
> >From the admin interface: If you use RegExp, you also can use the
>matched value in () as [***] in 'Set'.
>
>Can anyone lend a little RegExp expertise? We have emails coming from
>another domain that is not part of the customer user database, but the
>address names match the usernames in the customer database. I'm looking
>to grab the address portion of the "From" address and use it to set the
>customer user. (IE: an email from 'USERB@differentdomain.com' is
>received, I'd like to set the customeruser to 'USERB').
>
>Any ideas?
>
>
>Confidentiality Warning:
>This message and any attachments are intended only for the use of the intended recipients (otrs@otrs.org), are confidential, and may be privileged. If you are not the intended recipient, you are hereby notified that any review, retransmission, conversion to hard copy, copying, circulation or other use of this message and any attachments is strictly prohibited. If you are not the intended recipient, please notify the sender (Frank Wakelin) immediately by return e-mail, and delete this message and any attachments from your system. Thank you.
>
>Information Confidentielle:
>Le present message, ainsi que tout fichier qui y est joint, est envoye a l'intention exclusive de son ou de ses destinataires (otrs@otrs.org); il est de nature confidentielle et peut constituer une information privilegiee. Nous avertissons toute personne autre que le destinataire prevu que tout examen, reacheminement, impression, copie, distribution ou autre utilisation de ce message et de tout fichier qui y est joint est strictement interdit. Si vous n'etes pas le destinataire prevu, veuillez en aviser immediatement l'expediteur (Frank Wakelin) par retour de courriel et supprimer ce message et tout document joint de votre systeme. Merci
>
>
>_______________________________________________
>OTRS mailing list: otrs - Webpage: http://otrs.org/
>Archive: http://lists.otrs.org/pipermail/otrs
>To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
>Support or consulting for your OTRS system?
>=> http://www.otrs.com/