This site uses cookies.
Some of these cookies are essential to the operation of the site,
while others help to improve your experience by providing insights into how the site is being used.
For more information, please see the ProZ.com privacy policy.
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
Stepan Konev Rusland Local time: 06:55 Engels naar Russisch
Switch between plain-text and regex search
Sep 11, 2021
I have just tried your regex and it works fine for me.
Probably, you forgot to enable the regex search mode.
Also, you should keep in mind that your regex captures words that may constitute a part of another longer word.
For example, you have a phrase like
"long-term employment"
and you use a regex like
^(?!.*(employ)).*(term).*
The word 'employment' includes the word 'employ' that must be excluded according to your regex. The regex won't work in this case because the condition of your regex is not met.
If you want to strictly limit the excluded and/or included words, you should add \b around each word1 and word2 to read as follows:
^(?!.*(\bword2\b)).*(\bword1\b).*
[Edited at 2021-09-11 15:37 GMT]
Subject:
Comment:
The contents of this post will automatically be included in the ticket generated. Please add any additional comments or explanation (optional)
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.
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