M
Matt White
Hello,
I am in need of an effective regular expression that will capture
multiple values on the same line, not knowing in advance how many
matching values there are. Basically it needs to match strings of 3
digits within a string that contains anything (all on the same line).
I am pretty familiar with regular expressions but I've never tried
anything like this before.
So what I have is a line like:
abc123def456ghi789jkl
I want to end up with a list that looks like:
[123,456,789]
Thanks for your help!
I am in need of an effective regular expression that will capture
multiple values on the same line, not knowing in advance how many
matching values there are. Basically it needs to match strings of 3
digits within a string that contains anything (all on the same line).
I am pretty familiar with regular expressions but I've never tried
anything like this before.
So what I have is a line like:
abc123def456ghi789jkl
I want to end up with a list that looks like:
[123,456,789]
Thanks for your help!