i have so many line just like this json code (120000 lines)
{
"name":"V83.9",
"name":"Work",
"name":"V83.9",
"name":"Education",
"name":"V83.9",
"name":"Profession"
}
and i want this convert just like this
{
"name":"V83.9",
"name":"Work",
"name":"Education",
"name":"Profession"
}
and i wrote regex on vscode just like this but this is not working
Find: {\n"name":"$1",\n"name":"$2",\n"name":"$1",\n"name":"$3",\n"name":"$1",\n"name":"$4"\n}
Replace: {\n"name":"$1",\n"name":"$2",\n"name":"$3",\n"name":"$4"\n}
How do i do this?