Regular Expressions 101

Sponsors

Library entries

0
java

partnkey value

Extract value partn_key
Submitted by anonymous - a day ago
0
pcre

inefficient int/float(exponent)

match a single number
Submitted by anonymous - 3 days ago
0
javascript

sql inj

as
Submitted by anonymous - 3 days ago
0
pcre

amazIng regex

super
Submitted by anonymous - 4 days ago
0
java

Identifier Regex

Regex for identifiers
Submitted by anonymous - 6 days ago
0
pcre

Only if before

Only if needle is before target
Submitted by anonymous - 6 days ago
0
javascript

Currency

Currency
Submitted by jerryd - 7 days ago

Regex for url

Vote

1

Regular Expression
javascript

/
([\w+]+\:\/\/)?([\w\d-]+\.)*[\w-]+[\(\)\#\.\:]\w+([\(\)\/\?\=\&\#\.]?[\w-]+)*\/?[\(\-\w\)\?\=\#_]*
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 months ago