Jan-15-2021, 02:39 PM
Hello,
Here is test string:
Thanks.
Here is test string:
aaa = ' 2jhjh 890 jjk'Here is how I try to find 1st number in aaa (2 in this case):
bbb = re.match('\d', aaa)What I finally get:
Output:>>> type(bbb)
<class 'NoneType'>
Any suggestions ?Thanks.