Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 12,840 community submitted regex patterns...
0
Regex japanese characters validation
ECMAScript (JavaScript)
Regex for matching Japanese characters
Submitted by
ruanzx
-
3 years ago
0
匹配字母开头只能出现字母与数字
ECMAScript (JavaScript)
匹配字母开头只能出现字母与数字
Submitted by
anonymous
-
3 years ago
0
Match popular media type such as audio, images and/or videos
ECMAScript (JavaScript)
A regex that matches popular media types like audio, images and/or video. Can be adjusted to any media file type.
Submitted by
Javier Carrion
-
3 years ago
0
取得被 [] 包住的片段
ECMAScript (JavaScript)
取得被 [] 包住的片段
Submitted by
anonymous
-
3 years ago
0
Phone number
ECMAScript (JavaScript)
Regex phone number
Submitted by
Duy
-
3 years ago
0
identify pseudocode do while until loop
PCRE (PHP <7.3)
identify pseudocode do while until loop
Submitted by
anonymous
-
3 years ago
0
Singapore UEN
PCRE (PHP <7.3)
Should match all valid UENs but doesn't check Entity Type is valid. Based on: https://www.uen.gov.sg/ueninternet/faces/pages/admin/aboutUEN.jspx
Submitted by
Harry Gordon
-
3 years ago
(Last modified 3 years ago)
0
Breakdown datetime stamp into parts (YYYY-MM-DD[T]HH:MM:SS)
ECMAScript (JavaScript)
This will break the datetime string into it's individual parts and add them into named groups.
Submitted by
Tony Hume
-
3 years ago
0
senegal phone number regex
ECMAScript (JavaScript)
Check if the phone number is correct from sénégal
Submitted by
Me
-
3 years ago
0
Verify Cambodian mobile phone number(柬埔寨手机号码正则)
PCRE (PHP <7.3)
国家:Cambodia 中文名称:柬埔寨 区域码:+855 手机号位数:8或9 号段:10-18 其他号段:31、38、60、61、66-71、76-78、80、81、83-89、90-93、95-99...
Submitted by
7kk
-
3 years ago
0
Verify Indian mobile number(印度手机号码正则)
PCRE (PHP <7.3)
国家:India 中文名称:印度 区域码:+91 手机号位数:10 号段:7503、7504、8000、900 eg:+91 9001234567
Submitted by
7kk
-
3 years ago
0
telephone validator from FCC
ECMAScript (JavaScript)
passes freecodecamp's telephone validator
Submitted by
anonymous
-
3 years ago
0
Practice email validation
ECMAScript (JavaScript)
Solves the practice problem from https://www.sitepoint.com/learn-regex/
Submitted by
Nhi Mai-Do
-
3 years ago
0
Character Match Replace + Capturing Group
PCRE (PHP <7.3)
s matches the character s literally (case sensitive) 1st Capturing Group (\d) \d matches a digit (equivalent to [0-9]) Global pattern flags...
Submitted by
Dan
-
3 years ago
0
Remove Text after Parenthesis
PCRE (PHP <7.3)
/ \).$ / gm \) matches the character ) literally (case sensitive) ...
Submitted by
Dan
-
3 years ago
0
Lookbehind
ECMAScript (JavaScript)
Example of how to pull a particular piece of the URL
Submitted by
DATA_GATA
-
3 years ago
0
email address
ECMAScript (JavaScript)
email address regex
Submitted by
anonymous
-
3 years ago
0
Trailing dot removal after number sequence
ECMAScript (JavaScript)
The capture group returns only a number with a dot if it has decimal digits, otherwise it is treated as an integer. 1.1 => 1.1 1\. => 1
Submitted by
Stefa168
-
3 years ago
0
Match URL or URI strings
ECMAScript (JavaScript)
Reference: https://stackoverflow.com/a/34669019/369727
Submitted by
https://danlevy.net/
-
3 years ago
0
medicine
PCRE (PHP <7.3)
about medicine
Submitted by
fcs
-
3 years ago
(Last modified 3 years ago)
1
...
598
599
600
601
602
...
642
Detecting CJK Chars in Golang!
0
Regular Expression
Golang
`
[
\x{3040}-\x{30ff}\x{3400}-\x{4dbf}\x{4e00}-\x{9fff}\x{f900}-\x{faff}\x{ff66}-\x{ff9f}\x{3040}-\x{30ff}\x{3400}-\x{4dbf}\x{4e00}-\x{9fff}\x{f900}-\x{faff}\x{ff66}-\x{ff9f}\x{3131}-\x{D79D}
]
`
gm
Open regex in editor
Description
Detecting CJK Chars in Golang!
Submitted by
anonymous
-
3 years ago