Regular Expressions 101

Sponsors

Library entries

0
javascript

commitizen

cz regex
Submitted by anonymous - 3 years ago
0
python

nytimes project

str = str[:-1] split on "/" if "/" in str
Submitted by anonymous - 3 years ago
0
pcre

???

no description available
Submitted by anonymous - 3 years ago
0
pcre

IMEI Single Group

no description available
Submitted by anonymous - 3 years ago
0
pcre

Drupal-like token matching

no description available
Submitted by anonymous - 3 years ago
0
javascript

get image tag from string

no description available
Submitted by anonymous - 3 years ago
0
pcre

currencies / workbox / routing

no description available
Submitted by anonymous - 3 years ago
0
javascript

get src from img tag

no description available
Submitted by anonymous - 3 years ago
0
pcre

preamp placement regex

no description available
Submitted by anonymous - 3 years ago
0
javascript

JS comments remove

All types
Submitted by piterden - 6 months ago
0
pcre

product slug separator

no description available
Submitted by anonymous - 3 years ago
0
pcre

2

no description available
Submitted by anonymous - 3 years ago
0
pcre

product slug separator

no description available
Submitted by anonymous - 3 years ago
0
python

JDBC mysql string

no description available
Submitted by anonymous - 3 years ago
0
pcre

Search Specific Content

Search Specific Content
Submitted by anonymous - 3 years ago
0
pcre

page range

no description available
Submitted by anonymous - 3 years ago
0
python

FAR w/ Month, Year

no description available
Submitted by anonymous - 3 years ago

regex for void javascript functions

Vote

0

Regular Expression
pcre

/
(?<name>[a-zA-Z0-9]*(?<!constructor)(?<!if)\s*)(?<arguments>\([^()\r]*\))(?<body>\s*{((?:[^{}](?!return))*(?:\g<body>)?)+})
/
gm

Description

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