procmail
[Top] [All Lists]

String Manipulation

1999-04-09 12:05:29
I am a little new to procmail...

I am trying to take only the email address part out of the..
From:   line.
I figured out how to use
* MYFROM ?? ()\/<.*
to get the entire from line after ther first < sign, but this also includes
the < sign and the > sign along with the trailing end of line character.

does anyone know how to chop off the < and > so I can just get
someone(_at_)somewhere(_dot_)com?

Thanks

    _------_
   /        \
  |          |
  |          |
  |     __  __)
  |    /  \/  \
 /\/\ (o   )o  )
 /c    \__/ --.
(              )
 \_   _-------'
  |  /         \
  | | '\_______)
  |  \_____/
  |_____ |       Randy James
 |_____/\/\      The MathWorks, Inc.
 /         \     rjames(_at_)mathworks(_dot_)com