Regex to find abbreviation full form words

Hi all

Some times I need to find abbreviation full form words within the text

For example Комплектная Трансформаторная Подстанция as below:

Trados Studio Advanced Display Filter 2.0 with a regular expression search for the abbreviation ' ' highlighted in green in the source text pane.

which was not properly expanded by the document originators

[К]\w+\s[Т]\w+\s[П]\w+\s+

is there a way to optimize its code further, let's say

1. to avoid false search results related to not-a-beginning of the word return. I couldn't use the \< to specify word beginning or \> for word ending.

2. to have this in more intuitive way (not as to saving filter into a file or retyping the regex) by just typing only the abbreviation in question letters. If not there yet -- that is my idea for your developers :)

thanks



Generated Image Alt-Text
[edited by: Trados AI at 4:46 AM (GMT 0) on 5 Mar 2024]
emoji