Jump to content

regexp msql searching/sorting


jk11uk

Recommended Posts

hi

 

i have a table of different URLs, eg: http://www.site.com/pagesection/page.html

 

and i'd like to find out how many distinct root domains there are. is this possible in MYSQL? So in the below list would equal 2 distinct root domains (i'd also like to be able to list them)

 

www.site.com/page.html

www.site2.com/page2.html

www.site.com/section/adsf.php

www.site.com

 

 

thanks a lot guys!

Link to comment
https://forums.phpfreaks.com/topic/199598-regexp-msql-searchingsorting/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.