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

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

Hi,

 

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.

 

Thanks,

Nagaraj

1 REPLY 1
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

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

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

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

Top Kudoed Authors
Users Online
Currently online: 119 members 3,201 guests
Please welcome our newest community members: