MySQL Help - Stripping a piece of a string

Soldato
Joined
18 Oct 2002
Posts
5,586
Location
Stone, Staffordshire
I'm looking to extract the domain extension from a table full of website addresses, can anyone give me some pointers.

Here are some possible permutations and the part I want to extract:

These should all return .co.uk


These should all return.com

These should be .com.au

Any pointers guys?
 
Back
Top Bottom