A function to return the extracted root domain name from the line using regexp.
$30-250 USD
Terminado
Publicado hace casi 11 años
$30-250 USD
Pagado a la entrega
3 files attached
[login to view URL] this is an example of the type of data that will be read line by line into the function.
[login to view URL] this the output im looking for (minus the blank line, these are left there to make it easy for you to see the matches)
[login to view URL] is the function i had but its not matching
A function to return the extracted root domain name (.com .org .[login to view URL] .net) from the line using regexp.