Re: [otrs] Regex in postmaster filter to match email address from body and set as Contact ID

2007-09-14 Thread Edward Kovarski
Barry, The simple version would be, Email:\*(.*) The fancy version which accommodates a less rigid structure around the email address would be, Email:\*.*([EMAIL PROTECTED],4}\b) The simpler version would work on the following strings, 'Email:[EMAIL PROTECTED]' -> Extracts '[EMAIL PROTEC

[otrs] Regex in postmaster filter to match email address from body and set as Contact ID

2007-09-12 Thread * ProfitGrabber Support*
Need a little help with regex to parse a email address from the body of a email and set it as ContactID The email address appears like this in the body (on its own line): Email:[EMAIL PROTECTED] I have tried this (I don't know regex I was just guessing): Email:*([EMAIL PROTECTED])