I think this only strips out a string between the lt and gt
Happen to have one that will work on these?
[EMAIL PROTECTED]
<[EMAIL PROTECTED]>
DisplayName <[EMAIL PROTECTED]>
"DisplayName" <[EMAIL PROTECTED]>
[EMAIL PROTECTED] (DisplayName)
Mike Townend wrote:
> Hi,
>
> We tend to use this...
>
> //This function returns everything between a < and a >
> function ExtractEmail(sString)
> {
> return trim(ReReplace(sString, ".*<([^>]*)>.*", "\1"));
> }
>
> and seems to be working OK
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]