[Solved] PHP – Find number in a string
For the second one, you could look for a line that starts with “10”, then “something” and then 9 consecutive spaces. After the spaces is what you need to capture. The regex is ^10.+\s{9}(.*) 1 solved PHP – Find number in a string