# \[X\] Removing double spaces

**URL:** https://community.mp3tag.de/t/x-removing-double-spaces/5259
**Category:** No Bugs
**Created:** [August 5, 2007, 3:53am UTC](https://community.mp3tag.de/t/x-removing-double-spaces/5259 "2007-08-05T03:53:11Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![lingburg](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/b5e925/32.png) [@lingburg](https://community.mp3tag.de/u/lingburg)
#### Post date: [August 5, 2007, 3:53am UTC](https://community.mp3tag.de/t/x-removing-double-spaces/5259/1 "2007-08-05T03:53:11Z")

</div>

Hi  
I'm not sure if that's a bug or not, but here is the case:

I copied an action from here, to remove 'double spaces' to 'one space only'

The action is the following:

Field: \_ALL  
Regular expression: \s{2,}  
Replace matches with: " "(without quotes)  
[] case sensitive

So, when I got a directory with 2 spaces, it does not replace them with 1 space only

then I duplicated the action above, but changing \_ALL to \_DIRECTORY, then it worked

so my question is, \_ALL should not include \_DIRECTORY too? Then \_ALL should apply the action as well...

If this is not a bug, just ignore it 😉

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [August 5, 2007, 7:10am UTC](https://community.mp3tag.de/t/x-removing-double-spaces/5259/2 "2007-08-05T07:10:44Z")

</div>

\_DIRECTORY is not included in \_ALL.

---

<div class="post-metadata">

### Author: ![lingburg](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/l/b5e925/32.png) [@lingburg](https://community.mp3tag.de/u/lingburg)
#### Post date: [August 5, 2007, 8:21pm UTC](https://community.mp3tag.de/t/x-removing-double-spaces/5259/3 "2007-08-05T20:21:47Z")

</div>

that's confusing hehe

can you tell me what's included in \_ALL? I need to know what's the point of using \_ALL in my actions 😉

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [August 6, 2007, 4:16am UTC](https://community.mp3tag.de/t/x-removing-double-spaces/5259/4 "2007-08-06T04:16:51Z")

</div>

\_ALL contains all tag fields and the filename. I know that it's a little bit irritating but I think that users more often apply actions to their tags and filenames rather on the directory name.

---

<div class="post-metadata">

### Author: ![Florian](https://community.mp3tag.de/user_avatar/community.mp3tag.de/florian/32/5759_2.png) [@Florian](https://community.mp3tag.de/u/Florian)
#### Post date: [December 28, 2018, 2:20pm UTC](https://community.mp3tag.de/t/x-removing-double-spaces/5259/5 "2018-12-28T14:20:24Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
