1

I'm trying to find all values and replace with following pattern :

<option value="">text1343 </option>

<option value="">text2yt4</option>

<option value="">text34ug</option>

<option value="">defffe</option>

<option value="">ewewe</option>

What do I want?

I want to copy the text between <option value=""> AND </option> then paste it between "".

like this :

<option value="text1343">text1343 </option>

How can I do a replacement?

0

2 Answers 2

3

find value

value="">(.*)?(<)

replace with

value="$1">$1<
Sign up to request clarification or add additional context in comments.

Comments

2

Find: <option value="">(.*)</option>

Replace with: <option value="\1">\1</option>

1 Comment

Excellent Thanks very much

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.