Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql get domain from url

SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(SUBSTRING_INDEX(target_url, '/', 3), '://', -1), '/', 1), '?', 1) AS domain
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #mysql #domain #url
ADD COMMENT
Topic
Name
9+4 =