Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

Reply
Bartek
Frequent Visitor

Extraction of Web URL from text column

Hello, 
How can I extract to new column only web url address?
Sometimes the address is placed at the beginning, end or in the middle - therefore I can't use basic extraction methods. 

 

Bartek_0-1649232070128.png

 

 

Regards,

Bartek

1 ACCEPTED SOLUTION

Thank you, by using delimiter by mentioned option and space it seems to be working sufficient (more or less). 

Really appreciate your feedback!

View solution in original post

6 REPLIES 6
serpiva64
Solution Sage
Solution Sage

Hi, 

from your exemple it is not easy to answer completely (it isn't possible to see if after each url there is some delimiter).

Starting from something like this

serpiva64_0-1649235508067.png

 

You have to extract text after delimiter

serpiva64_1-1649235577620.png

then you evaluate what you get 

 

If this post is useful to help you to solve your issue consider giving the post a thumbs up 

 and accepting it as a solution !

 

 

Hi @serpiva64,
it works much better than creating from example.
However after using "text after delimiter" when there is more comment after the web url (not separated by space) it contains the whole remaining text, e.g. (no space, but delimited with "enter")

routewise.nola.gov/?route=Orpheus
When
Monday, Feb. 28, 2022
5:15 p.m. - 9:00 p.m.
Route
START: Napoleon St. and Prytania St.
Proceed down Napoleon St.
Right on St. Charles Ave.
Proceed on St. Charles Ave. around Egalite Circle.

It would be better to have sample data but i think you can use Split by delimiter with carriage return or something like this

serpiva64_0-1649238195279.png

 

Thank you, by using delimiter by mentioned option and space it seems to be working sufficient (more or less). 

Really appreciate your feedback!

amitchandak
Super User
Super User

@Bartek , Not too sure. But web by example may help

https://www.myonlinetraininghub.com/power-query-get-data-from-web-by-example

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hi @amitchandak, unfortunately creating column from example seems to be not working as desired.
It can't recognize that some of the url's have different structure and they are placed in different places in column.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.