js999
js999

Reputation: 2083

Regexp using Netbeans:

I would like to make the following find and replace:

// input
'key1': 1 
'key2': 2 

// output
key1: 1 
key2: 2

the find should be like this pattern '\w{1,}':
what about the replace with pattern?

Upvotes: 1

Views: 450

Answers (1)

jeremyharris
jeremyharris

Reputation: 7882

This should remove the quotes from the keys:

Find: '(.+)':

Replace: $1

Upvotes: 2

Related Questions