フラグ(g・i・m・s)の意味
この記事のポイント
- パターンを書く
- フラグを入れる
- 違いを見る
正規表現テスター の「フラグ」欄に、文字を並べて入れます。
手順
- パターンを書く
- フラグを入れる
- 違いを見る
「i」を付けると、大文字と小文字を区別しません。
正規表現テスターを使う(無料)
あわせて使えるツール
- 2つの文章の違いを調べる:2つの文章の違いを、行ごとに色つきで示します。
- 文字数カウント(エントリーシート・レポート用):文章の文字数・行数・原稿用紙の枚数などを数えます。
- 重複した行を消す・並べ替える:重複した行を消して、並べ替えます。
同じツールの、ほかの解説
What the Flags g, i, m and s Mean
Key points
- Write a pattern
- Enter flags
- See the difference
Type the letters into the "Flags" field of Regex Tester.
Steps
- Write a pattern
- Enter flags
- See the difference
Adding "i" ignores the difference between upper and lower case.
Use "Regex Tester" (free)
Tools that go well with this
- Compare Two Texts (Diff): Show the differences between two texts line by line.
- Character Counter (for Applications and Reports): Count characters, lines and manuscript sheets of your text.
- Remove Duplicate Lines and Sort a List: Remove duplicate lines and sort them.