เครื่องมือทดสอบ regex ฟรีที่จะตรวจสอบสตริงอินพุตของคุณเทียบกับนิพจน์ทั่วไปที่ระบุไว้ ช่วยให้มั่นใจว่าตรงตามเกณฑ์ที่กำหนดไว้ได้อย่างง่ายดาย!
เครื่องมือที่รองรับการแยกวิเคราะห์และดีบักในภาษา Javascript, Python และ PHP
Thanks for your feedback
รับภาพรวมระดับโค้ดและเพิ่มขีดความสามารถในด้านประสิทธิภาพของแอปพลิเคชัน ของคุณโดยใช้ Site24x7 APM Insight
ตรวจสอบเวลาพร้อมทำงานจาก 130 สถานที่ตั้งทั่วโลก
การตรวจสอบการส่งอีเมล
ตรวจสอบเซิร์ฟเวอร์ SMTP ของคุณ
การตรวจสอบเซิร์ฟเวอร์ POP/IMAP
การแจ้งเตือนที่ขับเคลื่อนโดย AI
การตรวจสอบเซิร์ฟเวอร์ Microsoft Exchange
แก้ไขปัญหาที่เกี่ยวข้องกับเซิร์ฟเวอร์อีเมล
ทำความเข้าใจความขึ้นต่อกันภายนอก
ตรวจสอบส่วนประกอบและเมตริกแบบกำหนดเอง
Following are the explanations for the flags used.
Regex Parser Flags | Description |
---|---|
g (Global) | Don't return after the first match |
s (Dot All) | Dot also matches newline |
i (Case Insensitive) | Case insensitive match, ignores case of alphabets |
m (Multiline) | Causes ^ and $ to match the begin/end of each line |
D (Dollar) | Makes the dollar sign '$', to always match the end of the string, instead of end of the line |
x (Extended) | Spaces in the pattern are ignored |
U (Ungreedy) | The match becomes lazy by default |
Following are few example input regex and results for the sample input string
InputRegex | Description | Input string | Result |
---|---|---|---|
[A-Z] | Character class: Literally matches all characters given inside '[' ']' | Once upon A time There was a King with Seven sons | |
[A-Za-z]+ | Checks for one or more matches | Once upon A time | |
([A-Z]) | Capturing group: Captures the matches of pattern within '(' and ')' in separate groups | Once upon A time | |
\w | Matches any word character (similar to [a-zA-Z0-9_]) | Site | |
([A-Z])\w+ | Capture all groups starting with uppercase alphabet and match all words starting with upper case alphabet followed by word character | Once |