Regex not match
![regex not match regex not match](https://s3-ap-northeast-1.amazonaws.com/joppot/wp-content/uploads/2018/11/20164336/rubyregexthumb.jpg)
![regex not match regex not match](https://managewp.com/wp-content/uploads/2012/12/Regex-does-not-match.png)
![regex not match regex not match](https://i.stack.imgur.com/8zObA.png)
The re.match() method will start matching a regex pattern from the very first character of the text, and if the match found, it will return a re.Match object.
#Regex not match how to#
In this article, You will learn how to match a regex pattern inside the target string using the match(), search(), and findall() method of a re module. Python re.match() method looks for the regex pattern only at the beginning of the target string and returns match object if match found otherwise, it will return None.