Question from Will:
I need to add a regex to my regex file such that the expression looks for a certain word at the beginning of a phrase, a midpoint word or words and then an ending word, but disregards everything in between those markers.
Here's an example:
Herr X ist in Berlin für den Bereich Festanstellung Healthcare zuständig.
I'd like to have a regex that starts at ‘ist’ then recognises ‘für den Bereich’ and then ends with ‘zuständig’, but ignores everything else in between.
Answer from Igor:
The below reg. ex. should work.
|ist .+? für den Bereich .+? zuständig.
Capturing words that only contain caps
Question from Alain:
Is there a way to to use some regex for all the source words in CAPITAL LETTERS? Quite often the client wants to keep them as they are (not translated).
Answer from Igor:
Please use this regular expression to find uppercase words:
|\b[A-Z]+\b