dimanche 24 juin 2018

Regex match digits between string

I need to extract integer values from the following text

something1 123456 something2something1 654321
something2

Here is what I have, but I need it to exclude the unknown number of spaces around the integer.

(?<=start:)(.*?)(?=end:)

RegExr

Aucun commentaire:

Enregistrer un commentaire