detect URLs and email addresses in first line