Jump to content


Photo

filtering


  • Please log in to reply
No replies to this topic

#1 greenba

greenba
  • Members
  • PipPipPip
  • Advanced Member
  • 31 posts
  • LocationBosnia and Herzegovina

Posted 14 March 2006 - 10:26 AM

hi,

I have the following in a text area:

subdomain.domain.com
domain.com/folder1
domain.com/folder1/folder2
subdomain.domain.com/folder1

What I need it to filter and extract only the main domain name, which in this case is "domain.com".

Any ideas?

bye




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users