Etz Posted August 20, 2015 Report Share Posted August 20, 2015 I have a quick and rather simple question. How could I extract only domain name part from {property:WebsiteUrl} ? For example: to get only "softpedia" part from full url http://www.softpedia.com/get/Multimedia/Audio/Audio-Mixers-Synthesizers/Serato-DJ.shtml Link to comment Share on other sites More sharing options...
shawn Posted August 21, 2015 Report Share Posted August 21, 2015 Assign a custom variable TheURL to {property:WebsiteUrl} then use the following: {TheURL:split:/:2} Link to comment Share on other sites More sharing options...
Etz Posted August 21, 2015 Author Report Share Posted August 21, 2015 Oh...why I almost always miss the easiest solution...and trying to overengineer everything... Hmm it still leaves me with www or possible subdomains to remove, fair enough that should be easy... Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now