W3School TIY Editor
W3School 在线教程
改变方向
暗黑模式
python_regex.py:
import re txt = "China is a great country" x = re.search("^China.*country$", txt) if (x): print("YES! We have a match!") else: print("No match")