Regular Expressions 101

Sponsors

Library entries

0
pcre2

Ukrainian IBAN

Regex for UA IBAN
Submitted by Viacheslav Kozachok - 8 months ago
0
pcre

aa

aa
Submitted by anonymous - 8 months ago
0
pcre2

Suplementos de Calcio

Suplementos de Calcio
Submitted by anonymous - 8 months ago
0
pcre2

Hipovitaminosis

Hipovitaminosis
Submitted by anonymous - 8 months ago
0
pcre2

Insuficiencia hepática

Insuficiencia hepática
Submitted by slopez - 8 months ago
0
pcre

HAKKEr

dsasd
Submitted by anonymous - 8 months ago
0
golang

parse dpserver url

parse dpserver url
Submitted by qianshen - 8 months ago
0
pcre2

Matches to time string: HH:MM

Matches to time string: HH:MM
Submitted by anonymous - 8 months ago

Port range validation

Vote

0

Regular Expression
pcre2

/
(^([1-9]|[1-5]?[0-9]{2,4}|6[1-4][0-9]{3}|65[1-4][0-9]{2}|655[1-2][0-9]|6553[1-5])$)| (^([1-9]|[1-5]?[0-9]{2,4}|6[1-4][0-9]{3}|65[1-4][0-9]{2}|655[1-2][0-9]|6553[1-5])-([1-9]|[1-5]?[0-9]{2,4}|6[1-4][0-9]{3}|65[1-4][0-9]{2}|655[1-2][0-9]|6553[1-5])$)|((?<=,|^)([1-9]|[1-5]?[0-9]{2,4}|6[1-4][0-9]{3}|65[1-4][0-9]{2}|655[1-2][0-9]|6553[1-5])(?=,|$),?)|((?<=,|^)([1-9]|[1-5]?[0-9]{2,4}|6[1-4][0-9]{3}|65[1-4][0-9]{2}|655[1-2][0-9]|6553[1-5])-([1-9]|[1-5]?[0-9]{2,4}|6[1-4][0-9]{3}|65[1-4][0-9]{2}|655[1-2][0-9]|6553[1-5])(?=,|$),?)
/
gm

Description

Loading markdown...
Submitted by anonymous - 10 months ago