demo_regex_search2.py:
import re str = "The rain in Spain" x = re.search("Portugal", str) print(x)
C:\Users\My Name>python demo_regex_search2.py
None