Regex/QA Checker 3.0
Thread poster: Lenart

Lenart  Identity Verified
Luxembourg
Local time: 22:11
Oct 1, 2017

Hello,

I would like Regex to show me error every time the source contains word „ ce “ except when it contains words „que ce soit“ and „en ce qui concerne“.

I would appreciate your help,

thank you!


 

jkmsff
Local time: 22:11
One possible regex ... Oct 7, 2017

Maybe this regex helps. It uses negative lookbehind and negative lookahead to exclude certain words words before and after "ce".

It's not perfect though -- it won't match "ce" in "que ce qui concerne" and "en ce soit", but my limited French language skills tell me these phrases aren't likely to occur.

(?<!(en))(?<!(que)) ce (?!(qui concerne))(?!(soit))

[Edited at 2017-10-07 11:31 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 3.0

Advanced search







TM-Town
Manage your TMs and Terms ... and boost your translation business

Are you ready for something fresh in the industry? TM-Town is a unique new site for you -- the freelance translator -- to store, manage and share translation memories (TMs) and glossaries...and potentially meet new clients on the basis of your prior work.

More info »
Déjà Vu X3
Try it, Love it

Find out why Déjà Vu is today the most flexible, customizable and user-friendly tool on the market. See the brand new features in action: *Completely redesigned user interface *Live Preview *Inline spell checking *Inline

More info »



Forums
  • All of ProZ.com
  • Term search
  • Jobs
  • Forums
  • Multiple search