How can I grep out only the email address using a regex from a file with multiple lines similar to this. (a sql dump to be precise)
Unfortunately I cannot just go b
If you know the field position then it is much easier with awk or cut:
awk -F ',' '{print $7}' file
OR
cut -d ',' -f7 file