開発

Regex Tester

正規表現テスター

テスト and debug regular expressions with real-time matching and highlighting. 検証する patterns, test multiple strings, and understand regex behavior instantly.

正規表現テスターツール

正規表現フラグ

クイック正規表現パターン

正規表現について

一般的なメタキャラクター

^- Start of string/line
$- End of string/line
.- Any character (except newline)
*- Zero or more repetitions
+- One or more repetitions
?- Zero or one repetition

文字クラス

[ABC]- Any character from set
[^abc]- Any character not in set
\d- Any digit [0-9]
\w- Word character [a-zA-Z0-9_]
\s- Whitespace character
\b- Word boundary

正規表現フラグの説明

g (グローバル)

Find all matches, not just the first one

i (大文字と小文字を区別しない)

Ignore case when matching

m (複数行)

Treat string as multiple lines

s (ドットオール)

Allow . to match newline characters

u (ユニコード)

Enable full Unicode support

y (スティッキー)

Match only from the lastIndex position

教育目的のみです。財務または医療アドバイスについては資格のある専門家に相談してください。

ほかの 開発View all