RE: Regex on a string

2004-08-22 Thread Jerry Preston
Got It!! Thanks, Jerry -Original Message- From: Jerry Preston [mailto:[EMAIL PROTECTED] Sent: Sunday, August 22, 2004 9:04 PM To: [EMAIL PROTECTED] Subject: Regex on a string Hi! I know this is simple, but I am not getting any where. I want to pull a group of letters, X1891 from

Regex on a string

2004-08-22 Thread Jerry Preston
Hi! I know this is simple, but I am not getting any where. I want to pull a group of letters, X1891 from the following: ZP5DX1891J10R01 /X\w{4}/ One thing to note is the number of characters before and after the X1891 is always changes. Thanks, Jerry