Regular Expressions 101

Sponsors

Library entries

0
javascript

import syntax for regex with grouping

HAYO!
Submitted by CreeJee - 3 hours ago
0
pcre2

Semver regex

Example of regex for semver with pre-releases
Submitted by anonymous - 4 hours ago
0
pcre2

Números reales

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

Validación de fecha

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

Doble Espacio

Encuentra texto con toble espacio
Submitted by Carlos Osmar - a day ago
0
javascript

Capture Words

Get each word from a text.
Submitted by anonymous - a day 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

IP Address validator

Vote

35

Regular Expression
javascript

/
^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$
/

Description

Loading markdown...
Submitted by krzysp - 7 years ago