M
M
malkof2016-02-04 21:15:02
Regular Expressions
malkof, 2016-02-04 21:15:02

How to form a string using Excel or notepad++?

Good afternoon. got a little lost. Probably knowledgeable people already know how to solve a similar problem. There is a document in which there are about a thousand lines of the form:
text text text text*phrase1*
text2 text2 text2 text2*phrase1*
text3 text3 text3 text3*phrase1*
there is also a document with lines (also about 1000) of the form
phrase1
phrase2
phrase3
As you understand, I one common file is needed, which will contain all options for substituting the lines of the second file into the lines of the first.
i.e.
text text text text*phrase1*
text2 text2 text2 text2*phrase1*
text3 text3 text3 text3*phrase1*
........
text text text text*phrase2*
text2 text2 text2 text2*phrase2*
text3 text3 text3 text3*phrase2*
.........
etc.
Please tell me how to do this using regular expressions in notepad++ or using other options

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
max_rip, 2016-02-04
@max_rip

Here the task is already for programming, in which regular expressions will solve a small part of their task.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question