Firstly, the UK is three separate legal jurisdictions, each with their own rules on metal detecting: England/Wales, Scotland, Northern Ireland.
Secondly, these rules are not binary legal/illegal, but on a continuum of permissiveness. You always need some kind of permission. England/Wales is more permissive (where most non-protected land can be detected on with the landowner's permission) than the Republic of Ireland (where you need state approval to use a metal detector anywhere).
"It illegal to use a detection device to search for archaeological objects anywhere within the State or its territorial seas; without the prior written consent of the Minister for Culture, Heritage and the Gaeltacht"
That, to me, implies there's a lot of unfound treasures over there... and/or a lot of illegal searching. Assuming there's interest outside of archeological value, of course.
Some good Samaritans sometimes send in Ireland's priceless heritage to the national museum. But of course they're not going to reveal who they are, or where they found it. They don't want to go to prison. So I guess we'll never know.
Most countries have similar rules, and that's also the standard (rarely prosecuted) view in international law. The general rule of thumb is that antiquities belong to the state, anything else (like treasure hoards in the UK) is an atypical exception.
Yes, obviously it's legal in England, or the coins wouldn't have been found, reported, and ultimately sold, as per the article. It's also legal in Ireland.
There are prohibitions and licensing requirements in both countries for search of heritage sites, national monuments, and other protected sites, and reporting requirements for unintentional "heritage" finds.
Firstly, the UK is three separate legal jurisdictions, each with their own rules on metal detecting: England/Wales, Scotland, Northern Ireland.
Secondly, these rules are not binary legal/illegal, but on a continuum of permissiveness. You always need some kind of permission. England/Wales is more permissive (where most non-protected land can be detected on with the landowner's permission) than the Republic of Ireland (where you need state approval to use a metal detector anywhere).
Some of the details here: https://detecthistory.com/metal-detecting/uk/