greenba Posted March 14, 2006 Share Posted March 14, 2006 hi,I have the following in a text area:subdomain.domain.comdomain.com/folder1domain.com/folder1/folder2subdomain.domain.com/folder1What I need it to filter and extract only the main domain name, which in this case is "domain.com".Any ideas?bye Quote Link to comment https://forums.phpfreaks.com/topic/4909-filtering/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.