echo "jd; John Doe; 99; None; john.doe@whoknows.com; ; ." | cut -d ";" -f 5
...so if someone makes mistakes it is automatically out :-)
Guess the way they chose is the best though.
...so if someone makes mistakes it is automatically out :-)
Guess the way they chose is the best though.
| sed -E 's/^.*[^[:alnum:]\._\-]([[:alnum:]\._\-]+@[[:alnum:]][[:alnum:]\-]+\.[[:alnum:]][[:alnum:]\-\.]*)[^[:alnum:]\-\.].*$/\1/'
| grep -E '^[[:alnum:]\._\-]+@[[:alnum:]][[:alnum:]\-]+\.[[:alnum:]][[:alnum:]\-\.]*$'