DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
python re
if pattern := re.search("[iI] am (.*)", "I am tired"): print(f"Hi {pattern.group(1)}, I'm dad!")
Source by www.geeksforgeeks.org #
PREVIOUS
NEXT
Tagged:
#python
ADD COMMENT
Topic
COMMENT
Name
7+1 =
Submit