Node/ PHP Custom Formatter - extract domain from URL

This simple Node Server Connect formatter extracts the domain name form a URL.

https://www.npmjs.com/package/@hyperbytes/wappler-extract-domain-from-url

install as per

Restart Wappler fully

You will not see a new formatter available

this formatter will extract the domain name form a full URL i.e.

https://www.mydomain.com/route/param

would return

mydomain.com
6 Likes

Now available for PHP (v1.1.1)

1 Like