Hey all! I currently have a preg_match to detect http:// and www. etc..... but I want to detect domain.com or domain.co.uk etc etc...
Sorry... to clarify: i'm detecting in a string.
Any ideas i need to scratch up on my regex!
© Stack Overflow or respective owner