On Tue, Sep 18, 2001 at 04:30:30PM +1000, Jobst Schmalenbach wrote:
> all,
> 
> i have a ascii file which contains many lines like:
> 
>  "first","last","occupation","someblah","[EMAIL PROTECTED]"

> I want to match only the last quoted string eg ".*@.*
> where the " is the last before the @


[^"]+"$

In the above regex, [^"]+ matches the email address itself, the rest is
required for anchoring.

-- 
Tom

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to