Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

How to extract URLs from multi-line input text box?



In the form of my app, one of the filds extracts plain text from users where they can paste URLs sometime. I want to extract those URLs and place it in a seperate column in my database. I have the data sitting in MS sql server database and using "Patch" function to get the data. Any idea how to do it in PowerApps.




Community Support Team
Community Support Team

Re: How to extract URLs from multi-line input text box?

Hi @Nagaraja,


If the data is stored as string, then I think there is no easy way to extract the URL from the Text.

There is no auto recognition for URLs within Text in PowerApps, so if URL string need to be seperated from the whole text string, then the proper way is to take use of find(), left, right and the other functions to seperate it out.

This requires the URL end with some special character. For example, &, $, or #.

For how the find works, see function reference:

Find function in PowerApps

Left, Right function in PowerApps

Split function in PowerApps


Best regards,

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources


Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,968)