# Remove spaces in URL

**URL:** <https://forum.mergado.com/t/remove-spaces-in-url/600>\
**Category:** Help Center\
**Tags:** blending-bull\
**Created:** [November 14, 2022, 8:11am UTC](https://forum.mergado.com/t/remove-spaces-in-url/600 "2022-11-14T08:11:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![caroline](https://forum.mergado.com/letter_avatar_proxy/v4/letter/c/ba8739/32.png) [@caroline](https://forum.mergado.com/u/caroline)\
**Post date:** [November 14, 2022, 8:11am UTC](https://forum.mergado.com/t/remove-spaces-in-url/600/1 "2022-11-14T08:11:32Z")

</div>

Hello,  
I would like to remove spaces which are in the product URL of a feed. The URL contains this:

&utm\_source=Google Shopping&utm\_campaign=V18 Google shopping&utm\_medium=cpc&utm\_term

where you see a space between Google Shopping as well as V18 and Google Shopping. Would it be possible to remove the spaces? I tried to use the Find and replace rule and write it the way it should be which is:

utm\_source=GoogleShopping&utm\_campaign=V18Googleshopping

However, it didn’t seem to work 😕

Thank you for any help,  
Caroline

---

<div class="post-metadata">

**Author:** ![radim](https://forum.mergado.com/user_avatar/forum.mergado.com/radim/32/1418_2.png) [@radim](https://forum.mergado.com/u/radim)\
**Post date:** [November 14, 2022, 8:55am UTC](https://forum.mergado.com/t/remove-spaces-in-url/600/2 "2022-11-14T08:55:09Z")

</div>

Hello Caroline,

my approach would be similar I think, so using the Find and replace rule.

The settings of the rule would be:

1. select element containing URLs
2. type " " (space) in the FIND field
3. leave the REPLACE field empty
4. click Create

The rule would look like this:

 ![Snímek obrazovky 2022-11-14 v 9.51.41](https://forum.mergado.com/uploads/default/original/1X/adbfa3da24c5bd6fe19045c844e8ca36c1b4e4ca.png)

Alternatively, you can use regular expression settings in the rule, with the same result. It this case, you would check the “Regular expression” checkbox and type “\s” in the FIND field. It would look like this:

 ![Snímek obrazovky 2022-11-14 v 9.51.56](https://forum.mergado.com/uploads/default/original/1X/cba1944877ceed3ebbd0f9cf90e34032d75d782f.png)

Let me know if this works.

---

<div class="post-metadata">

**Author:** ![caroline](https://forum.mergado.com/letter_avatar_proxy/v4/letter/c/ba8739/32.png) [@caroline](https://forum.mergado.com/u/caroline)\
**Post date:** [November 14, 2022, 9:12am UTC](https://forum.mergado.com/t/remove-spaces-in-url/600/3 "2022-11-14T09:12:08Z")

</div>

Hi Radim,

Thank you for the description 🙂 I am using Blending Bull (sorry didn’t mention it before) so I am not able to select the “element” field specifically - is there some other way in Blending Bull?

Thank you!

---

<div class="post-metadata">

**Author:** ![radim](https://forum.mergado.com/user_avatar/forum.mergado.com/radim/32/1418_2.png) [@radim](https://forum.mergado.com/u/radim)\
**Post date:** [November 14, 2022, 11:50am UTC](https://forum.mergado.com/t/remove-spaces-in-url/600/4 "2022-11-14T11:50:40Z")

</div>

I see. So in this case I ask [@group\_blendingbull](https://forum.mergado.com/groups/group_blendingbull) for help 🙂

---

<div class="post-metadata">

**Author:** ![michaljanik](https://forum.mergado.com/user_avatar/forum.mergado.com/michaljanik/32/6_2.png) [@michaljanik](https://forum.mergado.com/u/michaljanik)\
**Post date:** [November 14, 2022, 12:27pm UTC](https://forum.mergado.com/t/remove-spaces-in-url/600/5 "2022-11-14T12:27:24Z")

</div>

Hello @caroline

I will write you an e-mail. I would like to ask you to specify which output file in #blending-bull it is. This is not public information. So I’ll write an 📧 email.
