mardi 12 novembre 2019

Extract numbers in square brackets with regex [duplicate]

This question already has an answer here:

I'm trying to extract numbers with given string.. How to make regex for them?

"{'a': [100, 200], 'b': [300, 400]}"

expected output: 100, 200, 300, 400

Thanks in advance.

Aucun commentaire:

Enregistrer un commentaire