Edit requests of Python文字列操作マスター

@PythonPG

2018-12-23

Accepted

## 置換(replace) の部分は、実行してみると明らかにエラーになりおかしいので、修正前と修正後を書いてみました。

@ghost

2017-03-30

Accepted

置換のコードの1つ目の replace がrepalce になっていたので変更

@hanarchy_biz

2016-11-23

Accepted

置換(replace )においてreパッケージのメソッドが間違ってます。 正しくはsubメソッドです。せっかくなのでコードも載せておきました。

Please check the preview of this article

We released Markdown parser changes on February 24, 2022. There may be some unexpected appearance changes in this update, because this article was posted before the changes.
Please don't forget to check the preview before updating your article.
For more information on the changes, please read this article.