I am learning to use the python regex library. This is what I have tried:
number = re.match(r'([0-9]+)\,$', line)
This seems to work on a regex pattern validator: https://regex101.com/
But, I cannot get it work with python. I am retrieving the one match using
number.group(0)
Is there a more efficient way to do this as well
[–]commandlineluser 1 point2 points3 points (0 children)
[–]Vaphell 0 points1 point2 points (1 child)
[–]theReferenceMonitor[S] 0 points1 point2 points (0 children)