Skip to content

Validate URLs in Power Apps Canvas Using Regex

In this post, we’ll explore how to use IsMatch to validate URLs in Power Apps.

In any application, ensuring users input correctly formatted URLs is essential for data accuracy and functionality. Power Apps Canvas Apps offer a straightforward way to validate URLs using the IsMatch function combined with a regular expression (Regex).

If(IsMatch("https://make.powerapps.com", "https?://[\w.-]+"), "Valid URL", "Invalid URL")

If you liked the post, please share it with others 🙂

Please feel free to comment if you are stuck in any step

Thank you for reading 🙂

Published inPower Apps Canvas

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *