A
A
awak6e2017-11-27 09:14:09
Notepad++
awak6e, 2017-11-27 09:14:09

Notepad search and replace?

Hello. Help with regular expressions.
The text of the form is given:
season: winter
season: summer
season: demi-season
, etc.
you need to enclose the <sezon>сезон: зима</sezon>text data in the tag. The problem is that after "season:" I don't know all the options, but there is a lot of text. Help to make the correct search / replacement.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2017-11-27
@awak6e

Try this design

Найти: (^\сезон:.*$)
Заменить на: <sezon>\1</sezon>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question