用正則式判斷URL是否合法-python 用正則式判斷URL是否合法-python 用正則式判斷URL是否合法-python 終于進入到正規表達式的學習了。 pycharm真是個不錯的ide呢,免費版于我暫時夠用羅~~ re.match(r'^https?:/{2}\w.+$', url)