Regular Expressions 101

Sponsors

Library entries

-2
pcre

12 Hour Time Pattern

no description available
Submitted by anonymous - 7 years ago
-2
pcre

xml_kv_extraction

Basic XML key-value extraction
Submitted by Keith Muggleton - 7 years ago
-2
pcre

march html tag

no description available
Submitted by anonymous - 7 years ago
-2
pcre

Camelize JSON

no description available
Submitted by anonymous - 7 years ago
-2
pcre

Substitute text between brackets

no description available
Submitted by anonymous - 7 years ago
-2
pcre

French phone attempt

no description available
Submitted by anonymous - 7 years ago
-2
pcre

remove eval(base64_decode( ));

\seval\(base64_decode\(?\)\);
Submitted by manish kumar - 7 years ago
-2
javascript

SQL Injection

SQL injection regEx pattern
Submitted by Darshan Patil - 7 years ago
-2
javascript

search all special characters

no description available
Submitted by rlynjb - 7 years ago
-2
pcre

float

matches 123.4f 123.4F .4f .4F 5f 5F
Submitted by Mateusz Paluch - 7 years ago
-2
pcre

boolean

Value must be either true or false
Submitted by nstaal - 7 years ago

Regex for telephone numbers all over the world

Vote

71

Regular Expression
javascript

/
\+?\d{1,4}?[-.\s]?\(?\d{1,3}?\)?[-.\s]?\d{1,4}[-.\s]?\d{1,4}[-.\s]?\d{1,9}
/
g

Description

Loading markdown...
Submitted by Aditya Joshi - 9 years ago