regex QA checker > 0,1 or 2 words between »phrase x« and »phrase y«
Thread poster: Lenart
Lenart
Lenart  Identity Verified
Luxembourg
Local time: 15:52
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)
South Korea
Local time: 22:52
English to Korean
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 »
Anycount & Translation Office 3000
Translation Office 3000

Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.

More info »