Regex tagger for %d & %s Thread poster: Omer Shani
| Omer Shani Israel Local time: 16:57 Member (2012) English to Hebrew + ...
Hi There I have several software files to import with several regex characters as curly brackets etc. Two of them are %d & %s (i.e: %d days, %s ago, etc) Is there a regex tagger we can use to filter those out? Thanks in advance | | |
You can try the different standard filters available for this purpose in memoQ. When you import the files, use the Import with Options feature, choose the files, and then choose the filter select all of them in the Document Import Options dialog, choose Change Filter & Configuration. In the Document Import Settings dialog box, you have a list of possible filters at the top. If any of them matches the nature of your files, you can try with those. Otherwise... See more You can try the different standard filters available for this purpose in memoQ. When you import the files, use the Import with Options feature, choose the files, and then choose the filter select all of them in the Document Import Options dialog, choose Change Filter & Configuration. In the Document Import Settings dialog box, you have a list of possible filters at the top. If any of them matches the nature of your files, you can try with those. Otherwise, try with the RegEx filter, which usually imports nicely. Good luck! ▲ Collapse | | | Omer Shani Israel Local time: 16:57 Member (2012) English to Hebrew + ... TOPIC STARTER Regex tagger for %d & %s | Oct 28, 2020 |
Hi Tomás Thank you for your swift reply! We are familiar with the import process as you've been describing and we some save cascading filters on our own. But when we try to set a new one for those, they all come up too "greedy" and do not apply solely on the %d and the %s variables. I'll be happy to learn if you can share a regex for those so we can apply in memoQ BR Omer | | | Not sure of the question | Oct 29, 2020 |
I know it's sometimes hard to ask a technical question. If you want to match % and then follow with one lower case letter, you could do %[a-z] or %\w for any letter. | |
|
|
Stepan Konev Russian Federation Local time: 16:57 English to Russian Minor addition | Oct 29, 2020 |
If you have some variables like %dsdsds, or %dd, or %ss, etc. you can use %\w\b where \b denotes the end of a word. This will limit your regex search to a 'word' consisting of % and any 1 letter only.
[Edited at 2020-10-29 19:28 GMT] | | | To report site rules violations or get help, contact a site moderator: You can also contact site staff by submitting a support request » Regex tagger for %d & %s Trados Studio 2022 Freelance | The leading translation software used by over 270,000 translators.
Designed with your feedback in mind, Trados Studio 2022 delivers an unrivalled, powerful desktop
and cloud solution, empowering you to work in the most efficient and cost-effective way.
More info » |
| Protemos translation business management system | Create your account in minutes, and start working! 3-month trial for agencies, and free for freelancers!
The system lets you keep client/vendor database, with contacts and rates, manage projects and assign jobs to vendors, issue invoices, track payments, store and manage project files, generate business reports on turnover profit per client/manager etc.
More info » |
|
| | | | X Sign in to your ProZ.com account... | | | | | |