Regular Expressions 101

Community Patterns

0

Test Function Block

PCRE2 (PHP >=7.3)
Test
Submitted by anonymous - a year ago
0

Pan Number

PCRE2 (PHP >=7.3)
Pan Number
Submitted by anonymous - a year ago
0

GSTN

PCRE2 (PHP >=7.3)
Goods & Service Tax Numebr
Submitted by anonymous - a year ago
0

Money format

PCRE2 (PHP >=7.3)
Any money format
Submitted by anonymous - a year ago

Selects full path without filename or query parameter

1

Regular Expression
PCRE (PHP <7.3)

/
^([a-z]:|\/[a-z0-9_.$●-]+\/[a-z0-9_.$●-]+)?((?:\/|^)(?:[^\/:*?"<>|\r\n]+\/)+)
/

Description

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