-1
"test" = "data";

"text" = "data";

"this" = "data";

I got a long text like that one. I need to copy the first "" part to second "" part before the ; for each line.

Expected result

"test" = "test";

"text" = "text";

"this" = "this";

What regex can do this any idea?

Utku Dalmaz
  • 9,780
  • 28
  • 90
  • 130

1 Answers1

1

Try the following find and replace, in regex mode:

Find:    "(.*?)" = ".*?"
Replace: "$1" = "$1"

Demo

Tim Biegeleisen
  • 502,043
  • 27
  • 286
  • 360