Regular Expressions 101

Sponsors

Library entries

0
pcre2

Bangladeshi Phone Number Regex

Bangladeshi Phone Number Regex
Submitted by Siam - a year ago
1
pcre2

Pattern string

Example of test I did do to company.
Submitted by Claudio Santos - a year ago
0
java

Regex to verify a java method

Verifies java methods
Submitted by Marco Galindo - a year ago
0
pcre2

Find PHP short open tags

Find PHP short open tags
Submitted by anonymous - a year ago
0
pcre2

[promtail] pod-controller

matching pod-controller
Submitted by anonymous - a year ago
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

object

Vote

2

Regular Expression
pcre2

/
(?(DEFINE)(?P<space>[\s\n]*))(?(DEFINE)(?P<string>("[^"]*")))(?(DEFINE)(?P<integer>\d+))(?(DEFINE)(?P<PValue>((?P>string)|(?P>integer))))(?(DEFINE)(?P<PSV>(?P>space):(?P>space)))(?(DEFINE)(?P<PSP>(?P>space),(?P>space)))(?(DEFINE)(?P<PName>(?P>string))(?>(?P>PSV)))(?(DEFINE)(?P<property>(?P>PName)(?>(?P>PSV))(?P>PValue)(?>(?P>PSP)?)))"progressive"(?P>PSV)\[(?P>space)({(?P>property)*}(?P>PSP)?)*]}
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago