Zum Hauptinhalt gehen

Exclude segments of xml files with regex

Kommentare

9 Kommentare

  • Permanently deleted user

    Hello Daniel,

     

    thanks for the question.

    Have you tried following regular expressions:

    1) ([0-9]+ x [0-9]+) 

    for this

    <en>2000 x 1451</en>

    2) [0-9]+

    for this

    <en>72941</en>

    Let me know, please.

    All the best

    Wojciech

    0
  • Daniel Hug

    I checked my regex expressions in a regex checker before, so they should have worked. Your expressions did not work either I am afraid.

    Daniel

    0
  • Permanently deleted user

    Thanks for replying Daniel.

    I am a bit surprised by this as I have tested my regexs by processing in Wordbee the file with mentioned numbers and it worked.

    All the best

    Wojciech

    0
  • Daniel Hug

    Well, I must be doing something wrong... but what? I am using Chrome on Windows 7. This is how the settings look:

    And this is the source:

    The editor will display this:

    Daniel

    0
  • Permanently deleted user

    Thanks Daniel.

    I am also using Chrome on Windows 7

    My settings:

    my file:

    my editor display:

    All the best

    Wojciech

    0
  • Daniel Hug

    0
  • Daniel Hug

    Okay, I found the difference: I was importing a file as "multilingual", you must have been importing your file as "monolingual". Your regex expressions do work for me if I import monolingual files.

    Daniel

    0
  • Permanently deleted user

    Is this image showing your status Daniel? :-)

    All the best

    Wojciech

    0
  • Daniel Hug

    Did you try your regex with multilingual XML files as well?

    Daniel

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.