# Substituting Code in Podcast Description and Comment

**URL:** <https://community.mp3tag.de/t/substituting-code-in-podcast-description-and-comment/15514>\
**Category:** Support\
**Created:** [February 16, 2014, 6:39pm UTC](https://community.mp3tag.de/t/substituting-code-in-podcast-description-and-comment/15514 "2014-02-16T18:39:08Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![ykeyke](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/d26b3c/32.png) [@ykeyke](https://community.mp3tag.de/u/ykeyke)\
**Post date:** [February 16, 2014, 6:39pm UTC](https://community.mp3tag.de/t/substituting-code-in-podcast-description-and-comment/15514/1 "2014-02-16T18:39:08Z")

</div>

Hi again everybody,

My issue today is a bit _weird_, as I'm trying to correct anomalies in some fields.

Downloading Podcasts, I'm getting this text in Podcast Description and Comment fields:

**I'd like to know how to solve this.**

 

Thanks!!

\<iframe width="238" height="48" 

**frameborder="0" allowfullscreen="" scrolling="no" src="[http://www.ivo.com/aha.html](http://www.ivo.com/aha.html)"\>  
  ![](http://feeds.feedburner.com/aha)**

I know this is html codification, but I'd like your help to put it as it should be.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [February 16, 2014, 7:08pm UTC](https://community.mp3tag.de/t/substituting-code-in-podcast-description-and-comment/15514/2 "2014-02-16T19:08:55Z")

</div>

> [@ykeyke](#):
>
> .... to put it as it should be.
> 
> Thanks in advance

What do you think is "as it should be"?

---

<div class="post-metadata">

**Author:** ![ykeyke](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/d26b3c/32.png) [@ykeyke](https://community.mp3tag.de/u/ykeyke)\
**Post date:** [February 16, 2014, 7:27pm UTC](https://community.mp3tag.de/t/substituting-code-in-podcast-description-and-comment/15514/3 "2014-02-16T19:27:30Z")

</div>

Oh, well. I mean substituting stuff like  
, \<iframe width=",... with what it means really in html, I'm not very good at programming languages, so I'm a bit lost. I know for example  
is a break line, so I imagine the text:

**I'd like to know how to solve this.**

Thanks!!

Should be:

**I'd like to know how to solve this.**

Thanks!!

and so on...

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [February 16, 2014, 7:47pm UTC](https://community.mp3tag.de/t/substituting-code-in-podcast-description-and-comment/15514/4 "2014-02-16T19:47:55Z")

</div>

Try an action of the type "Replace with regular expression" for COMMENT.  
Search String: \<.\*?\>  
Replace string:  
(leave that empty)  
This cuts out everything in \<\>.

---

<div class="post-metadata">

**Author:** ![ykeyke](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/d26b3c/32.png) [@ykeyke](https://community.mp3tag.de/u/ykeyke)\
**Post date:** [February 16, 2014, 8:03pm UTC](https://community.mp3tag.de/t/substituting-code-in-podcast-description-and-comment/15514/5 "2014-02-16T20:03:56Z")

</div>

Yes, but this will remove everything into \<\>, that is not what I want, I was thinking in translating the html code into what it really means, for example in the anterior text:

**\<iframe width="238" height="48"**

frameborder="0" allowfullscreen="" scrolling="no" src="[http://www.ivo.com/aha.html](http://www.ivo.com/aha.html)"\>

is somehow a web address in some special format, so what I want is to put it in that format or at least to conserve that information in a ''readable'' format with line breaks, new lines, ....

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [February 17, 2014, 5:33am UTC](https://community.mp3tag.de/t/substituting-code-in-podcast-description-and-comment/15514/6 "2014-02-17T05:33:20Z")

</div>

> [@ykeyke](#):
>
> Yes, but this will remove everything into \<\>, that is not what I want, I was thinking in translating the html code into what it really means, for example in the anterior text:  
> ...

If you want to tranlate it, you would have to write a translator that cuts out all the words you do not want to have.  
I guess that this would mean to create quite a chain of actions to cut out any eventuality of code.

Actually, there are fields for such things as web addresses, starting with www. (see [https://docs.mp3tag.de/mapping](https://docs.mp3tag.de/mapping) for available fields)

Check if these fields are not already filled or try to give feedback to the podcast suppliers that they should tag their files properly. Sinking html code in the comment field does not look very professional to me - it excapes me, e.g. what purpose an iframe should serve in this context.

---

<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:** [February 17, 2014, 9:36am UTC](https://community.mp3tag.de/t/substituting-code-in-podcast-description-and-comment/15514/7 "2014-02-17T09:36:25Z")

</div>

> [@ykeyke](#):
>
> ... Downloading Podcasts, I'm getting this text in Podcast Description and Comment fields ... I know this is html codification, but I'd like your help to put it as it should be. Thanks in advance

Mp3tag cannot render HTML text data in dialog boxes.  
But other applications might do it.  
Finally, you have to decide if the HTML tags should be lost or not.

Here you want to strip off all HTML tags and save specific content.  
Mp3tag has no ready made built in function for this purpose, but you can use the Mp3tag scripting language to build up the needed functionality.

Here is a proposal for an action group, which you may adapt to your needs.

1. TMP\_COMMENT \<== `%COMMENT%`
2. TMP\_COMMENT \<== `$regexp(%TMP_COMMENT%,'[\r\n]+',)`
3. TMP\_COMMENT \<== `$regexp(%TMP_COMMENT%,'.*?','\r\nWebsite: $1',1)`
4. TMP\_COMMENT \<== `$regexp(%TMP_COMMENT%,'.*?','\r\nFile: $1',1)`
5. TMP\_COMMENT \<== `$regexp(%TMP_COMMENT%,'','\r\nImage: $1',1)`
6. TMP\_COMMENT \<== `$regexp(%TMP_COMMENT%,'','\r\n',1)`
7. TMP\_COMMENT \<== `$regexp(%TMP_COMMENT%,'</?.+?>',)`
8. TMP\_COMMENT \<== `$regexp(%TMP_COMMENT%,'(\r\n){2,}','\r\n')`
9. TMP\_COMMENT \<== `$regexp(%TMP_COMMENT%,'\A[\r\n\s]*|[\r\n\s]*\Z',)`
10. COMMENT \<== `%TMP_COMMENT%`
11. Remove TMP\_COMMENT

Result:

```auto
I'd like to know how to solve this.
Thanks!!
Website: http://www.ivo.com/aha.html
File: http://www.ivo.com/aha.mp3
Image: http://feeds.feedburner.com/aha

```

DD.20140217.1136.CET

There is the Mp3tag MTA file with comments for the regular expressions ...  
[Test\_2014\_20140217.ykeyke.rar](https://community.mp3tag.de/uploads/default/original/2X/2/23b08719ecf9d4b86aa7fda3bd6ab6c6be363c88.rar) (1.02 KB)  
DD.20140218.1255.CET

---

<div class="post-metadata">

**Author:** ![ykeyke](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/y/d26b3c/32.png) [@ykeyke](https://community.mp3tag.de/u/ykeyke)\
**Post date:** [February 18, 2014, 7:29am UTC](https://community.mp3tag.de/t/substituting-code-in-podcast-description-and-comment/15514/8 "2014-02-18T07:29:49Z")

</div>

> [@DetlevD](#):
>
> Mp3tag cannot render HTML text data in dialog boxes.

Maybe in the future !!! 😉

> [@DetlevD](#):
>
> But other applications might do it.

It would be nice if you can suggest recommendations.

> [@DetlevD](#):
>
> Here is a proposal for an action group, which you may adapt to your needs.

Yes DetlevD, it's just what I want to do after applying some modifications. If impossible to apply the html code, at least save the content of fields...  
I really appreciate your help, anytime I have doubts or questions, you're here to resolve them, Thank you very much...

Thanks ohrenkino too, your collaboration was really constructive, my greetings...

Cheers

---

<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:24pm UTC](https://community.mp3tag.de/t/substituting-code-in-podcast-description-and-comment/15514/9 "2026-02-09T12:24:55Z")

</div>

Closed on February 9, 2026, 12:24pm UTC


