I have a text file which has some data like this:
- data: {text: '=', name: '10', id: 316, row: 8, column: 1, width: 19, height: 1}
I want to replace the '=' with = and '10' with 10.
I have tried using
Pattern p= Pattern.compile("\\w+:\\s\\'(.*)\\'");
matcher.group(1);
This gives me =', name: '10
But I need to get =.
How do I find all the matches?