Regular Expressions 101

Library entries

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