The re.search(pattern, string) method matches the first occurrence of the pattern in the string and returns a match object.
Regex search() article:
[ Ссылка ]
Regex book:
[ Ссылка ]
~~~
Do you want to thrive as a self-employed Python freelancer controlling your own time, income, and work schedule? Check out our Python freelancer resources:
Finxter Python Freelancer Course:
[ Ссылка ]
Finxter Python Freelancer Webinar:
[ Ссылка ]
Leaving the Rat Race with Python (Book):
[ Ссылка ]
![](https://s2.save4k.ru/pic/Mv2VVpUgypc/maxresdefault.jpg)