Regular Expressions 101

Community Patterns

15

IPv4

PCRE (PHP <7.3)
no description available
Submitted by robwa - 8 years ago
106

trim

ECMAScript (JavaScript)
trim string
Submitted by fp - 10 years ago

Regex to select text withing square brackets.

-2

Regular Expression
ECMAScript (JavaScript)

/
((?!\]+)(?!\[+).)*
/
g

Description

Loading markdown...
Submitted by Dhrubajyoti Gogoi - 10 years ago