Answer the question
In order to leave comments, you need to log in
Find and replace pattern in Word?
Good afternoon!
There is a table (in Word) with a huge number of records of the form:
Ivanova Victoria Vasilievna, born in 1971, higher education, Uryupinsk State Pedagogical Institute, total work experience - 22 years, work experience - 3 years.
We need a search and replace template that will leave only the full name in the cell, and delete the rest.
I tried (with the "Wildcards" checkbox enabled) such a pattern: (<*>) (<*>) (<*>)*
change to \1 \2 \3
, but it turns out that it looks for any three sequences and one character after.
Anyone familiar with Word regulars? There is a feeling that it is too simple here, but a stupor is a strong thing))
UPD:
As a result (thanks to @dimonchik2013), this elegant crutch worked faster than all the options:
Answer the question
In order to leave comments, you need to log in
in general, copy-paste to text, regular expression and back "convert to table" is faster,
but let's see what kind of regexps there are in the Word, in
short, here the rules are all word.mvps.org/faqs/general/usingwildcards.htm catch
garbage in vegetable oil
: ([A- Z]*>) ([AZ]*>) ([AZ]*>)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question