1

I have in txt file lines like this:

(1, 'Peach', '["8","9"]'),
...
(31, 'Apple', '["8","9"]'),
(32, 'Orange', '["8","0"]'),
(33, 'Mango', '["8","0"]'),
...
(344, 'Melon', '["8","9"]'),

and I want them without numbers. Like this:

('Peach', '["8","9"]'),
...
('Apple', '["8","9"]'),
('Orange', '["8","0"]'),
('Mango', '["8","0"]'),
...
('Melon', '["8","9"]'),

What regex "replace with..." I should use ?

Thank you

4

2 回答 2

2

search for:

^\([0-9]+,\s*

replace with \(

于 2012-12-14T21:33:14.180 回答
2

Try this:

Find \([0-9]+,\s*

Replace (

于 2012-12-14T21:39:08.733 回答