I have something similar to this:
A: 1 2 3 4
B: 5 6 7 8
C: 9 10 11 12
I am interested in capturing the numbers in the B row. In other words, I want to match [' 5',' 6',' 7',' 8']. Bear in mind that I am not guaranteed that the number of rows or the amount of digits is like in my example.
The closest I got to is (?<=B:)( \d+)*, which matches:
What is the correct way of doing what I want strictly in Python regular expressions? Is it possible?
Edit: Some people rightly mentioned I could simply capture the row and then use split inside Python. This surely works, but the problem is that I am limited to using only a single regular expression.
