# How do I remove a carriage return from a field?

**URL:** https://community.mp3tag.de/t/how-do-i-remove-a-carriage-return-from-a-field/3550
**Category:** Support
**Created:** [July 11, 2006, 3:21pm UTC](https://community.mp3tag.de/t/how-do-i-remove-a-carriage-return-from-a-field/3550 "2006-07-11T15:21:10Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Bellfazar](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/c0e974/32.png) [@Bellfazar](https://community.mp3tag.de/u/Bellfazar)
#### Post date: [July 11, 2006, 3:21pm UTC](https://community.mp3tag.de/t/how-do-i-remove-a-carriage-return-from-a-field/3550/1 "2006-07-11T15:21:10Z")

</div>

I have my comment fields formatted with multiple lines and it's a tremendous pain to deal with in other applications, so what I'd like to do is convert all the comment fields to a single line that is comma delimited. My multi-line setup is formatted like so:

```
Line1, 
Line2, 
Line3

```

Note that there is a space after every comma.

At first I figured that I could simply use a regex, but I can't seem to figure out how to get the regex interpreter to recognize a \n. More to the point, I'm not entirely sure if the return after the comma space is a \r or a \n.

Is there a way to actually do what I'm trying to do?

---

<div class="post-metadata">

### Author: ![dano](https://community.mp3tag.de/user_avatar/community.mp3tag.de/dano/32/6_2.png) [@dano](https://community.mp3tag.de/u/dano)
#### Post date: [July 11, 2006, 4:11pm UTC](https://community.mp3tag.de/t/how-do-i-remove-a-carriage-return-from-a-field/3550/2 "2006-07-11T16:11:54Z")

</div>

The RegEx module should understand \r and \n but it's also possible to use \d and \a  
You can use (\r|\n) if you don't know exactly.

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [July 11, 2006, 4:18pm UTC](https://community.mp3tag.de/t/how-do-i-remove-a-carriage-return-from-a-field/3550/3 "2006-07-11T16:18:35Z")

</div>

> [@Bellfazar](#):
>
> I have my comment fields formatted with multiple lines and it's a tremendous pain to deal with in other applications, so what I'd like to do is convert all the comment fields to a single line that is comma delimited.

This should work:  
 ![](https://community.mp3tag.de/uploads/default/original/2X/7/7b3dad60d4ae15b8e47dfe4872cb637a434d4313.jpg)

And this too:  
 ![](https://community.mp3tag.de/uploads/default/original/2X/3/33b0c6b5cd96d133314346213ad046de10c534bd.jpg)  
  
The bracketed charset should contain all the chars you would like to save.

DD.20060711.2007

![](https://community.mp3tag.de/uploads/default/original/2X/3/33b0c6b5cd96d133314346213ad046de10c534bd.jpg)

![](https://community.mp3tag.de/uploads/default/original/2X/7/7b3dad60d4ae15b8e47dfe4872cb637a434d4313.jpg)

---

<div class="post-metadata">

### Author: ![Bellfazar](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/b/c0e974/32.png) [@Bellfazar](https://community.mp3tag.de/u/Bellfazar)
#### Post date: [July 11, 2006, 5:29pm UTC](https://community.mp3tag.de/t/how-do-i-remove-a-carriage-return-from-a-field/3550/4 "2006-07-11T17:29:03Z")

</div>

Sweet! It worked perfectly. Thanks a lot guys 🙂

---

<div class="post-metadata">

### Author: ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)
#### Post date: [February 9, 2026, 12:19pm UTC](https://community.mp3tag.de/t/how-do-i-remove-a-carriage-return-from-a-field/3550/5 "2026-02-09T12:19:49Z")

</div>


