Regular Expressions 101

Sponsors

Library entries

0
pcre2

isNumber

Find that given string is number or not.
Submitted by anonymous - a year ago
0
pcre2

array() to shorthand []

PHP array() syntax to shorthand
Submitted by anonymous - a year ago
0
pcre2

Extract noun chunks

Extract noun chunks in a sentence.
Submitted by anonymous - a year ago
0
pcre2

Validate UUID

Use this regex to validate a UUID
Submitted by @eltonplima - a year ago
0
pcre2

First_Tests

first tests
Submitted by anonymous - a year ago
0
pcre2

BanRegex

B站”刷寿命“弹幕屏蔽正则
Submitted by anonymous - a year ago
0
pcre2

my_lib

without numbers
Submitted by anonymous - a year ago
0
java

email with cyrillic

email with cyrillic
Submitted by Mpchest - a year ago

Simple TIN number regex

Vote

1

Regular Expression
pcre2

/
^(?![-])(?!.*[-]$)(?!.*[-]{2})[0-9-]+$
/
gm

Description

Loading markdown...
Submitted by Sowed Castelli - a year ago