# Regex

**URL:** <https://community.glideapps.com/t/regex/73958>\
**Category:** Ask for Help\
**Created:** [June 7, 2024, 2:46pm UTC](https://community.glideapps.com/t/regex/73958 "2024-06-07T14:46:01Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)\
**Post date:** [June 7, 2024, 2:46pm UTC](https://community.glideapps.com/t/regex/73958/1 "2024-06-07T14:46:01Z")

</div>

Having problems. I am upload a file which is being converted to a path

[https://storage.googleapis.com/glide-prod.appspot.com/uploads-v2/hdshfasdSDFVCKfsdoaoD1P1w/pub/798sdsdfSDFSDAl/price\_json.txt](https://storage.googleapis.com/glide-prod.appspot.com/uploads-v2/hdshfasdSDFVCKfsdoaoD1P1w/pub/798sdsdfSDFSDAl/price_json.txt)

When I am displaying information in the new app it is showing the pull path, in the legacy system, I could configure the link component to show only the last part.

I am trying to use regex but it doesn’t seem to be working. I tried using  
[^/]+$  
to strip off everything after the last “/”

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/e/a/eada4eaeeaf71a7e3be8d745025e83088d243e22.png)

---

<div class="post-metadata">

**Author:** ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)\
**Post date:** [June 7, 2024, 3:00pm UTC](https://community.glideapps.com/t/regex/73958/2 "2024-06-07T15:00:05Z")

</div>

If you mean, that you need to leave the file name, so usually i use Slit text /  
and then Single value last

---

<div class="post-metadata">

**Author:** ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)\
**Post date:** [June 7, 2024, 3:01pm UTC](https://community.glideapps.com/t/regex/73958/3 "2024-06-07T15:01:40Z")

</div>

yes… I want to end up with price\_json.txt

is that 2 columns you are using ? Slit text and Single value last ?

---

<div class="post-metadata">

**Author:** ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)\
**Post date:** [June 7, 2024, 3:04pm UTC](https://community.glideapps.com/t/regex/73958/4 "2024-06-07T15:04:43Z")

</div>

Yes  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/c/a/ca9b396f5f8e1365fb2666c9949899ab130f1564.png)

---

<div class="post-metadata">

**Author:** ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)\
**Post date:** [June 7, 2024, 3:13pm UTC](https://community.glideapps.com/t/regex/73958/5 "2024-06-07T15:13:05Z")

</div>

mm… not working for me… not sure what I am doing wrong

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/d/2/d259a2b6ce8ab57183d52a8fcb3cac9dd649fb30.jpeg)  
 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/5/e/5e5fcc5858138b9b0d9d5d1d79389755e70299e6.jpeg)

---

<div class="post-metadata">

**Author:** ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)\
**Post date:** [June 7, 2024, 3:17pm UTC](https://community.glideapps.com/t/regex/73958/6 "2024-06-07T15:17:27Z")

</div>

What’s actual result?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/3/6/36a85489d13cf998486afd1e45faa103020a1a3d.png)  
You needn’t go thru table, you must go directly to row column

---

<div class="post-metadata">

**Author:** ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)\
**Post date:** [June 7, 2024, 3:21pm UTC](https://community.glideapps.com/t/regex/73958/7 "2024-06-07T15:21:00Z")

</div>

Single value will not work, it is copying the same results in each row, I need it to split for each row.

Currently it seems to be be taking the last row and of the split column and copying it in every cell of the single value

---

<div class="post-metadata">

**Author:** ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)\
**Post date:** [June 7, 2024, 3:24pm UTC](https://community.glideapps.com/t/regex/73958/8 "2024-06-07T15:24:59Z")

</div>

Look at my screen carefully. You going to select column thru table, but you need to choose column in row

---

<div class="post-metadata">

**Author:** ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)\
**Post date:** [June 7, 2024, 3:29pm UTC](https://community.glideapps.com/t/regex/73958/9 "2024-06-07T15:29:02Z")

</div>

oh yes… my mistake…

Thanks, I will implement this, although not sure why the regex doesn;t work.

Thanks

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [June 7, 2024, 4:16pm UTC](https://community.glideapps.com/t/regex/73958/10 "2024-06-07T16:16:21Z")

</div>

What’s the end goal for displaying it? A Link component will display just the file name while also providing a clickable link. Not sure if that works for your use case though.

---

<div class="post-metadata">

**Author:** ![slscustom.ru](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/slscustom.ru/32/77336_2.png) [@slscustom.ru](https://community.glideapps.com/u/slscustom.ru)\
**Post date:** [June 7, 2024, 4:22pm UTC](https://community.glideapps.com/t/regex/73958/11 "2024-06-07T16:22:06Z")

</div>

Thanks, Jeff for income! Can you show example how link component can show only file name, please

---

<div class="post-metadata">

**Author:** ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)\
**Post date:** [June 7, 2024, 4:24pm UTC](https://community.glideapps.com/t/regex/73958/12 "2024-06-07T16:24:03Z")

</div>

Hi Jeff,

That is what I am trying to do.

I am using the link component, but the file name now contains the full URL which I don’t want to display

 ![image](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/8/e/8eae1f3dc282e744aa17c3887cbe1d9ca832b341.png)

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [June 7, 2024, 4:43pm UTC](https://community.glideapps.com/t/regex/73958/13 "2024-06-07T16:43:50Z")

</div>

I don’t I ever did anything special. This is how it looks in one of my apps. I think the difference may be that I’m using a Multiple Files column to upload multiple PDFs and then display them with a Link component.

 ![Screenshot_20240607-113806](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/2/c/2cf8fc26b46389c540c29c343a8a7933e6a4b6dc.jpeg)

I didn’t have a Title option, so it must have done it automatically.

 ![Screenshot_20240607-114445](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/f/7/f7702736714a9546f63fc0b185d3fc94a2a827b1.png)

---

<div class="post-metadata">

**Author:** ![Dan\_San](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/dan_san/32/24085_2.png) [@Dan\_San](https://community.glideapps.com/u/Dan_San)\
**Post date:** [June 7, 2024, 4:47pm UTC](https://community.glideapps.com/t/regex/73958/14 "2024-06-07T16:47:22Z")

</div>

ahhh… got it. I am using a URL column and that is why I am having this issue.

thanks

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [June 8, 2024, 12:11am UTC](https://community.glideapps.com/t/regex/73958/15 "2024-06-08T00:11:46Z")

</div>

Multiple files columns will take care of that automatically for you, but they are not prettified (the %20 escapes for spaces are kept, for example).

When you have a non-array column, the component allows you to specify the title.

> **[Thịnh Đinh on LinkedIn: Remember when Glide's community was so in awe with...](https://www.linkedin.com/posts/thinhcdinh_remember-when-glides-community-was-so-in-activity-7204851863035256832-GCdp?utm_source=share&utm_medium=member_desktop)**
>
> Remember when Glide's community was so in awe with Experimental Code column? Pepperidge Farm Remembers.
> 
> No, actually, Glide did so well in introducing a lot…

Here’s my attempt on fixing the error with multiple files.
