LoginSignup
1
1

More than 3 years have passed since last update.

Pythonで正規表現

Last updated at Posted at 2019-09-24

覚書

pythonで正規表現するときは、、、

import re
re.sub("正規表現","置換後の処理",対象とする文字列)

公式:https://docs.python.org/ja/3/library/re.html#re.sub

1
1
2

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1