-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
  • 8,375
  • 27
  • 83
  • 122

1 Answers1

1

Try the following find and replace, in regex mode:

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

Demo

Tim Biegeleisen
  • 387,723
  • 20
  • 200
  • 263