Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to learn regex pyton

re.search(r'cake$', "Cake! Let's eat cake").group()

## The next search will return the NONE value, try it:
re.search(r'cake$', "Let's get some cake on our way home!").group()
Source by www.datacamp.com #
 
PREVIOUS NEXT
Tagged: #learn #regex #pyton
ADD COMMENT
Topic
Name
9+9 =