regex QA checker > 0,1 or 2 words between »phrase x« and »phrase y«
Autor vlákna: Lenart
Lenart
Lenart  Identity Verified
Lucembursko
Local time: 18:35
Dec 16, 2017

The initial phrase is „vprašanje nacionalnega prava, za katerega“.

I would like to target all the examples where between „vprašanje“ and „za katerega“ there is 0, 1 or 2 words.

So I am searching for something in the spirit of „vprašanje .* za katerega“ but more complicated because I would like to limit „.*“ on 0,1 or 2 words.

Does anybody know how to do this?

Thank you


 
MuMyongCy (X)
MuMyongCy (X)
Jižní Korea
Local time: 01:35
angličtina -> korejština
not tested though Jan 24, 2018

try this
(\s+\w+){0,2}

[Edited at 2018-01-24 15:35 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 QA checker > 0,1 or 2 words between »phrase x« and »phrase y«







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 »
CafeTran Espresso
You've never met a CAT tool this clever!

Translate faster & easier, using a sophisticated CAT tool built by a translator / developer. Accept jobs from clients who use Trados, MemoQ, Wordfast & major CAT tools. Download and start using CafeTran Espresso -- for free

Buy now! »