【GAS】正規表現の使い方(検索・抽出・置換・分割)
![Thumbnail of post image 034](https://tetsuooo.net/wp-content/uploads/2022/02/wooden-cubes-473703_960_720-150x150.jpg)
Google Apps Script(GAS)を使っていると、データ処理する際に「この条件に一致する文字だけ抽出したい」といったシーンが頻繁に訪れますよね。表計算ソフト等では様々な機能で条件指定 ...
【GAS】replaceメソッドで文字列の置換・削除を行う
![Thumbnail of post image 194](https://tetsuooo.net/wp-content/uploads/2022/02/sunset-5737120_960_720-150x150.jpg)
スプレッドシートから取得した文字列や、スクレイピングしたHTMLテキストで特定の文字列など、Google Apps Script(GAS)で一部の文字を他の文字に置換したいケースがよくあります。 ...