Regular Expressions 101

Sponsors

Library entries

0
pcre2

Unicode pattern

匹配Unicode
Submitted by anonymous - 9 months ago
0
pcre2

najit cenu

tmp
Submitted by anonymous - 9 months ago
0
pcre2

pali word not in html tag

pali word not in html tag
Submitted by pndaza - 9 months ago
0
pcre2

misc

misc
Submitted by anonymous - 9 months ago
0
pcre2

get txt html

asad
Submitted by anonymous - 9 months ago
0
pcre2

Find text between two words

Find text between two words
Submitted by suha a - 9 months ago
0
pcre2

IBAN Ukraine

Checcking IBAN number for Ukraine
Submitted by anonymous - 9 months ago
0
pcre2

Mammars tumour dx

identifying mammary tumour diagnosis
Submitted by Georgia Salmon - 9 months ago
0
pcre2

Вся строка начиная со слова

а
Submitted by anonymous - 9 months ago
0
pcre2

hexadecimal

Hexadecimal regex
Submitted by anonymous - 9 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 - 8 months ago