SOLVED
Extracting Subdomains of a list of URLS
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Lazzanova
7 - Meteor
‎11-16-2021
04:35 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hey guys,
I've got a list of different URLS and I need to extract the subdomain of each of the URL.
A subdomain would be anything between the third and fourth "/" character.
Example URLS:
1) https://www.community.alteryx.com/t5/forums/postpage/board-id/designer-discussions
2) https://www.lovealteryx.com/community/why-i-love-alteryx
In this example the subdomain output should be
1) t5
2) community
I'm guessing I need to use regex for this, but don't know how.
Anyone who can help me out?
With kind regards,
Lazzanova
Solved! Go to Solution.
1 REPLY 1
cmcclellan
14 - Magnetar
‎11-16-2021
05:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
