Regular Expressions 101

Sponsors

Library entries

1
python

Test

test
Submitted by test - 7 years ago
1
python

java

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

HH:MM:SS

Validates 00:00:00 to 23:59:59
Submitted by anonymous - 7 years ago
1
javascript

rstp

no description available
Submitted by anonymous - 7 years ago
1
javascript

URL matching

no description available
Submitted by San - 7 years ago
1
javascript

#tag all languages

no description available
Submitted by Farhad - 7 years ago
8
python

repeat group match

no description available
Submitted by anonymous - 7 years ago
4
javascript

url

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

Match HTTP error code

no description available
Submitted by anonymous - 7 years ago

equation matching (for javascript, without equal)

Vote

1

Regular Expression
javascript

/
(?:^\s*([+-])?|\s*([+-])(?![+-]))\s*(?:(\d+(?:\.\d*)?)\s*\*)?\s*([+-])?(?![+-])(\d+(?:\.\d*)?)?([xX])?(?:\^(\d+))?\s*
/
g

Description

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