all,
i have a ascii file which contains many lines like:
"first","last","occupation","someblah","[EMAIL PROTECTED]"
I want to replace the last email address with a bogus one.
doing a reg exp replace (because of the greediness) like
".*@.*"
will yield the entire string including the "first!
I want to match only the last quoted string eg ".*@.*
where the " is the last before the @
I know how to do it in perl and awk, but I want to know how to do it
using (non) greedy reg exp!
thanks
jobst
--
Student to Teacher: Sir, what's an oxymoron? .... Teacher to Student: Microsoft
security.
__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director
_ _.--'-n_/ Barrett Consulting Group P/L & The Meditation Room P/L
-(_)------(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug