Answer the question
In order to leave comments, you need to log in
How to use regular expressions to find a word and copy it to a specific location?
Tell me, please, how can I use regular expressions to find what is written between the tags, copy it and paste it between the tags?
I've been racking my brain for an hour, I can't find a formula))
Example:
<category id="1"><name>Мужские куртки</name><short></short></category>
<category id="2"><name>Мужские брюки</name><short></short></category>
<category id="3"><name>Мужские портянки</name><short></short></category>
<category id="1"><name>Мужские куртки</name><short>Мужские куртки</short></category>
<category id="2"><name>Мужские брюки</name><short>Мужские брюки</short></category>
<category id="3"><name>Мужские портянки</name><short>Мужские портянки</short></category>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question