Regular Expressions 101

Sponsors

Library entries

0
pcre

Parcing2

aa
Submitted by anonymous - 4 hours ago
0
pcre

trim phone number

trim phone number
Submitted by anonymous - 12 hours ago
0
pcre

NMEA after timestamps

Picks up (most?) NMEA messages.
Submitted by David Harrison - 10 days ago
0
pcre

decamelize

pascal case to snake case
Submitted by anonymous - a month ago
0
pcre

Filtro Página web

Filtro pagina web
Submitted by anonymous - a month ago
0
pcre

Whatsapp group message id

Whatsapp group message id
Submitted by anonymous - 2 months ago
0
pcre

1-100

1-100
Submitted by anonymous - 2 months ago
0
pcre

Negative search

Seach pattern that doesn't match
Submitted by Gael Langlais - 2 months ago
0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 2 months ago
0
pcre

amazIng regex

super
Submitted by anonymous - 2 months ago
1
pcre

Only if before

Only if needle is before target
Submitted by anonymous - 2 months ago

Extract name and value from CSS border-radius

Vote

1

Regular Expression
javascript

/
\b(border(?:-(?:top|bottom)-(?:left|right))?-radius)\s*:\s([^;]*)(?:;|$)
/
gmi

Description

Loading markdown...
Submitted by pmk - 8 years ago