Any regex to filter all the texts or segments with the same color?

Hi Studio experts,

I have a survey file. All the programming codes or instructions (in blue) do not need translations. Is it possible to filter them all in studio so that I can lock and exclude them from analysis?

Thanks,

Ivan

Parents
  • Hi Pengfei,

    This could well be possible... depends on a couple of things:

    1. The file format you are translating
    2. Possible prep work on the source file itself rather than in Studio (depends on the file format)

    Can you share an example file?

    Regards

    Paul
  • Hi Paul,

    Thanks for your quick reply. It is a word file. 

    Sorry. It is my first time to ask question here. I cannot see the attachment link. How can I send you the example file?

    Thanks,

    Ivan

    ASK ALL
    Gender. Are you

    1.       Male

    2.       Female

     
    ASK ALL
    Age. How old are you? |_ _| RANGE 18-65
     
    ASK ALL
    Edu. Are you in possession of a college degree (bachelor degree, master of science, PHD – any comparable education level)?
    SINGLE ANSWER
    1.       Yes, I’m in possession of a college degree
    2.       No, I’m not in possession of a college degree
     
    ASK IF EDU=1
    Uni. How many years did you spend at college or university as a student? |_ _| RANGE 1-10
     
    ASK IF EDU=2
  • Hi Ivan,

    No worries... you just need to use the "Use rich formatting" option as this offers a toolbar where you can select a file from your computer:

    Then select this icon:

    Regards

    Paul

  • Thanks. Please see the example file. If I can select all the blue texts in the word file, make them hidden, then these texts will not be imported to Studio. Don't know if it can be achieved in Word, or if you have any better solution.  

    example file.docx

  • Hello Ivan,

    This video explains... was easier to show you:

  • Hi,

    Just a note. Make sure that you check the file type settings in Project Settings, if you add the file to an existing project (not just File > Options, since those settings will only apply to projects that you create from now on).

    After you have generated the file you might want to restore the hidden text to Not hidden before delivering to the client. Just do it the same way, Find and Replace > Format > Font > uncheck Hidden > OK > Replace All.

    And a tip: If you get these files regularly you can make macros for the search and replace operations and perform it by just clicking one button.

    Paul: Is there a way to convert text like this to inline tags, so that it can be visible in Studio? I haven't really tried it, but I suspect you already have the answer :)

  • Hi Paul,

    It works. I really appreciate your quick help. Thanks a million!!!

    Regards,

    Ivan

Reply Children
No Data