Regular Expressions 101

Sponsors

Library entries

2
javascript

Out of office

This is why
Submitted by anonymous - 7 years ago
1
javascript

Parser

Need everything inside this as separate variable :)
Submitted by anonymous - 7 years ago
7
javascript

Match text (not within html tag)

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

Check if number is a float

no description available
Submitted by @hiaru - 7 years ago
1
javascript

very basic email regex

no description available
Submitted by anonymous - 7 years ago

Multiple matches in php but only one in javascript

Vote

0

Regular Expression
javascript

/
<tr><td colspan="1" rowspan="1">\d+<\/td><td colspan="1" rowspan="1" style="text-align: left;"><a style=".*" href=".*">(\w+)\s(\w+)<\/a><\/td><td colspan="1" rowspan="1" style="text-align: left;"><a onclick="loadTeamSpotlight\(jQuery\(this\)\);" rel="\w{2,3}" href="javascript:void\(0\);">(\w{2,3})<\/a><\/td><td colspan="1" rowspan="1" style="text-align: left;">\w+<\/td><td colspan="1" rowspan="1" style="text-align: center;">(\d+)<\/td><td colspan="1" rowspan="1" style="text-align: center;">(\d+)<\/td><td colspan="1" rowspan="1" style="text-align: center;">(\d+)<\/td><td colspan="1" rowspan="1" style="text-align: center;" class="active">\d+<\/td><td colspan="1" rowspan="1" style="text-align: center;">([+|-]\d+)<\/td><td colspan="1" rowspan="1" style="text-align: center;">(\d+)<\/td><td colspan="1" rowspan="1" style="text-align: center;">(\d+)<\/td><td colspan="1" rowspan="1" style="text-align: center;">\d+<\/td><td colspan="1" rowspan="1" style="text-align: center;">(\d+)<\/td><td colspan="1" rowspan="1" style="text-align: center;">\d+<\/td><td colspan="1" rowspan="1" style="text-align: center;">(\d+)<\/td><td colspan="1" rowspan="1" style="text-align: center;">\d+<\/td><td colspan="1" rowspan="1" style="text-align: center;">(\d+)<\/td><td colspan="1" rowspan="1" style="text-align: right;">\d+\.\d<\/td><td colspan="1" rowspan="1" style="text-align: right;">\d+:\d+<\/td><td colspan="1" rowspan="1" style="text-align: right;">\d+\.\d<\/td><td colspan="1" rowspan="1" style="text-align: right;">\d+\.\d<\/td><\/tr>
/
g

Description

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