正規表現テスター
正規表現をサンプルテキストに当てて一致箇所をリアルタイムに強調し、キャプチャグループと置換結果まで確認できます。
ブラウザ内だけで動作します。入力した内容はどこにもアップロードされません。
Contact dev at ryuslog.com or support at ryuslog.dev for access. The docs at ryuslog.com mailbox is public, and the deploy runs at 2026-11-16T09:30:00Z with bearer 8b1c2f4a.
- #1 · 8
dev@ryuslog.com$1 dev$2 ryuslog.com - #2 · 27
support@ryuslog.dev$1 support$2 ryuslog.dev - #3 · 63
docs@ryuslog.com$1 docs$2 ryuslog.com
正規表現チートシート
クイックリファレンス- \d \w \s .
- 数字、単語文字、空白、改行以外の任意の文字です。大文字にするとそれぞれ否定になります。
- ^ $ \b
- 入力の先頭、末尾、単語境界です。アンカーは文字ではなく位置に一致します。
- * + ? {n,m}
- 0回以上、1回以上、0回か1回、そして明示的な回数や範囲の繰り返しです。
- ( ) (?: )
- キャプチャグループは一致内容を $1、$2 として保存し、非キャプチャグループはまとめるだけで保存しません。
- (?=) (?!)
- 肯定・否定の先読みです。後ろに続く内容を消費せずに確認します。
- g i m s
- 全体検索、大文字小文字の無視、複数行アンカー、ドットが改行にも一致するフラグです。
Python の関連文法ガイド
Python のガイドをすべて見るPython iter(): How the Built-in Function Works
Explains Python's iter() built-in: how it creates iterators, the two-argument sentinel form, custom iterator classes, and common edge cases.
PythonPython Pika: Queues, Exchanges, Routing Keys, and Acknowledgements
Learn how to use Python's Pika client with RabbitMQ: declare queues and exchanges, publish with routing keys, consume messages, and handle acknowledgements reliably.
PythonPython Kafka: kafka-python vs Confluent Client
python kafka python vs confluent kafka: Compare kafka-python and Confluent Kafka Python clients: API differences, performance, feature coverage, and when to choose eac...
PythonPython Kafka Offsets, Partitions, and Manual Commits
Learn how Kafka offsets and partitions work and how to manually commit offsets in Python consumers with kafka-python and confluent-kafka. Covers sync vs async commits, rebalances, and seeking.