Regular Expressions 101

Sponsors

Library entries

0
pcre2

Números reales

Números reales
Submitted by Carlos Osmar - 6 hours ago
0
pcre2

Validación de fecha

Este código validará la fecha
Submitted by Carlos Osmar - 11 hours ago
0
pcre2

Doble Espacio

Encuentra texto con toble espacio
Submitted by Carlos Osmar - 15 hours ago
0
javascript

Capture Words

Get each word from a text.
Submitted by anonymous - 21 hours ago
0
pcre

Negative search

Seach pattern that doesn't match
Submitted by Gael Langlais - 2 days ago
0
javascript

File extension

Parse file extension.
Submitted by Webmato - 2 days ago
0
pcre2

Invoice nr

regexp search in mongo db by nr
Submitted by Tivadar - 2 days ago
0
pcre2

MySQL DATETIME

MySQL DATETIME
Submitted by anonymous - 3 days ago
0
pcre2

Split Http(s) Response

Split Http(s) Response
Submitted by anonymous - 4 days ago

split URL into location-resource-params

Vote

3

Regular Expression
pcre

/
(?'location'.+)(?:\/(?'resource'[\w\-\._]+\.js))(?:\?(?'params'.+))?
/
gm

Description

Loading markdown...
Submitted by cebence - 9 years ago