There is a list of name, example:
Иванов Иван Иванович Петров Петр Петрович Сидоров Сидор Сидорович
Task:
after the name (in the position of every second space) put the character ;
Result:
Иванов Иван;Иванович Петров Петр;Петрович Сидоров Сидор;Сидорович
Implement using regular expressions, without reference to any programming language (replacement in NOTEPAD ++).
The task is much more difficult, but I already figured out the answer below.