Extract Domain from URL with RegEx

Status: Closed · Asked by nefer_l on · 0 views

nefer_l — Question ·

I found this RegEx to be helpful for the Text Formatter Action using the Extract Pattern Action Event:

^(?:.*://)?(?:www\.)?([^:/]*).*$

Sample Input: https://www.parachutehome.com/
Sample Output: parachutehome.com

Attachments

Screen Shot 2021-06-29 at 7.16.34 PM.png

Back to all forum threads · Log in to reply