Regular expression repeating character

Hi There,

Lets assume that I have a comment field with content on multiple lines.
And I would like to remove the multiple ----

Rather then counting the number of -- I would like to remove ALL ---- if there's more then one

Furthermore I would like to be able to adapt the - sign to another character.

already thank you for reading this.
Guy

Ambiance description : roots, malta, portuguese, boats    -------------------------------------------

All rights reserved
PRODUCER-PUBLISHER
PARSIPARLA
3 rue des Aulnes
03000 AVERMES
FRANCE
tel fax (33) (0) 4 70 20 65 10
info@parsiparla.com
www.parsiparla.com
QUOTE (ForSSOund @ Jul 16 2014, 13:36) <{POST_SNAPBACK}>
Hi There,

Lets assume that I have a comment field with content on multiple lines.
And I would like to remove the multiple ----

Rather then counting the number of -- I would like to remove ALL ---- if there's more then one

Furthermore I would like to be able to adapt the - sign to another character.

already thank you for reading this.
Guy

Ambiance description : roots, malta, portuguese, boats    -------------------------------------------

All rights reserved
PRODUCER-PUBLISHER
PARSIPARLA
3 rue des Aulnes
03000 AVERMES
FRANCE
tel fax (33) (0) 4 70 20 65 10
info@parsiparla.com
www.parsiparla.com<!--QuoteEnd--></div><!--QuoteEEnd-->

Yopu could appy Convert>Tag-Tag
for comment
with
$regexp(%comment%,-+,-)
This replaces all multi-minusses with one - or whatever you choose as replacement.

Tnaks for the Ultra quick answer

However I was not correct in my question.
In fact everything after and including the repeating -- must go and I found that this for mood and genre does work.

(--).*

But man you're fast
Kind Regards

If you want to delete everything after the --
try:
Search string: --.*$
Leave replace string empty.
Works as "Replace with regular expression" or as $regexp() in format value actions or in Tag-Tag-conversion.