Sanitize URL

Sanitize URL
This custom command validates and sanitizes a given URL string, ensuring it is well-formed and safe for use. It trims any whitespace, validates the URL format, and returns a sanitized version as a string. If the input is invalid, it throws an error with a descriptive message.
How to configure and use this Custom Command :


1) Pass a raw URL to sanitize.
Watch Video Demo :
Note:
If you find our template useful and like it, please give us a favor by sharing this template to your community for wide circulation. Thanks