Regular Expressions 101

Sponsors

Library entries

0
pcre2

matches 4 or 6 or 8 digit which might be otp

test
Submitted by test - 2 hours ago
0
javascript

Regex for url

Regex for url
Submitted by anonymous - 21 hours ago
0
pcre2

InputInteger

InputInteger
Submitted by anonymous - 2 days ago
0
pcre2

hidrologia

qualidade
Submitted by anonymous - 2 days ago
0
javascript

RegEX IBAN SEPA with spaces

RegEX IBAN SEPA with spaces
Submitted by Karim MB - 3 days ago
0
javascript

js获取url上的参数

/(+)=(+)/gm
Submitted by anonymous - 5 days ago
0
pcre2

Celular Brasil

Validar celular do Brasil
Submitted by Paulo Neves - 6 days ago
1
javascript

中文匹配

本示例启用了多行匹配 m
Submitted by yang - 8 days ago

Google like regex

Vote

32

Regular Expression
javascript

/
([+-]?(?:'.+?'|".+?"|[^+\- ]{1}[^ ]*))
/
g

Description

Loading markdown...
Submitted by mettjus - 8 years ago