【Python爬蟲】Re(正則表達式)庫入門

正則表達式的概念                      正則表達式的語法                             Re庫的基本使用                          練習: >>> import re >>> match=re.search(r'[1-9]\d{5}','BIT 100081') >>> if match: print(match.gro
相關文章
相關標籤/搜索