Question: I need help with regexing in Python . I am trying to get the first digit that is not a zero in a text string.
I need help with regexing in Python.
I am trying to get the first digit that is not a zero in a text string.
Here is a subset of what data looks like:
1) 08:30am-3:30pm
2) M, T, W: 7:45am -3:05pm
Expected result from regex is:
1) 8
2) 7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
