Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

Replace all occurrences of a text between two custom delimiters
08-22-2023
05:50 AM
Hello everyone,
I am using this formula to delete the text between the two delimiters.
#"Rimosso contenuto span" = Table.TransformColumns(#"Rimosso contenuto h4", {{"Descrizione", each Text.Replace(_, Text.BetweenDelimiters(_, "<span", ">"), ""), type text}}),
The replacement does not occur for all occurrences in the field, but only for the first one that is found.
How can I improve the formula to replace all occurrences?
Thank you,
g.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023
06:06 AM

Hi @GiuseppeSan
Are you highlighting the whole column before replacing the value? If you just chose one cell and carried out the replacemnet, then it will only change cells that are exactly that value, whereas if you choose the whole column or highlight multiple columns it will remove this from all cells which have the value.
Thanks
Joe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2023
06:35 AM

Helpful resources
Recommendations
Subject | Author | Posted | |
---|---|---|---|
10-31-2024 06:01 PM | |||
06-18-2024 07:41 AM | |||
11-22-2024 09:21 AM | |||
02-13-2025 04:52 PM | |||
01-22-2025 01:48 AM |