[rt-users] Regex for ExtractCustomFieldValue
Gene LeDuc
gleduc at mail.sdsu.edu
Wed May 16 11:20:46 EDT 2007
I think I'd put a + after the \w to match 1 or more "word" characters, like so:
/CUSTOMER ENVIRONMENT\s+(\w+)/
At 09:44 PM 5/15/2007, Mathew Snyder wrote:
>I'm testing this out but am weak on the Regex front. The value I'm going
>to be
>extracting from emails is on a line that looks like
>CUSTOMER ENVIRONMENT customer_name
>
>The customer_name will never have spaces
>
>Would the Regex be
>CUSTOMER ENVIRONMENT\s+(\w)
>
>If not, could someone help me out?
>
>Mathew
>--
>Keep up with me and what I'm up to: http://theillien.blogspot.com
>_______________________________________________
>http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
>
>Community help: http://wiki.bestpractical.com
>Commercial support: sales at bestpractical.com
>
>
>Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
>Buy a copy at http://rtbook.bestpractical.com
--
Gene LeDuc, GSEC
Security Analyst
San Diego State University
More information about the rt-users
mailing list