Issue with Regex in CSV file with MarkDown syntax

Dear team,

I have the following exported CSV file with Markdown syntax:

en-bg.zip

I have also the following filter created and tested with previous text which work just fine:

Creativiso-Markddown in CSV.zip

In the new file we are not able to handle the following code:

![Wedding table decoration](xpress-01.eu-central-1.linodeobjects.com/.../1666258270550_wedding1-o6cwnxtmy1m0aohfywbp3qbv29x48x7to2pvxxf3so.jpg){: .fll .image-size--medium loading=""lazy"" srcset=""xpress-01.eu-central-1.linodeobjects.com/.../1666258270550_wedding1-o6cwnxtmy1m0aohfywbp3qbv29x48x7to2pvxxf3so.jpg 260w, xpress-01.eu-central-1.linodeobjects.com/.../1666258270550_wedding1-o6cwnxtmy1m0aohfywbp3qbv29x48x7to2pvxxf3so.jpg 520w, xpress-01.eu-central-1.linodeobjects.com/.../1666258270550_wedding1-o6cwnxtmy1m0aohfywbp3qbv29x48x7to2pvxxf3so.jpg 1040w"" sizes=""(min-width: 1360px) 520px, (min-width: 801px) 48vw, 96vw""}

I need to translate the text between square brackets and hide the rest of the code.

Right now I am getting this result:

Screenshot of a CSV file opened in a text editor showing Markdown syntax with a focus on a line containing an image link and formatting code for a wedding table decoration.

We tried with the following RegEx rule:

Start tag: !\[

End tag: \].*?

The result:

Close-up view of the CSV file highlighting the Markdown syntax for an image link related to wedding table decoration, surrounded by formatting code.

Any help is highly appreciated. Slight smile

Best regards,

Sotir



Generated Image Alt-Text
[edited by: Trados AI at 4:46 AM (GMT 0) on 5 Mar 2024]
emoji
Parents Reply Children
No Data