Regular Expressions 101

Sponsors

Library entries

0
javascript

regex101-4269

to share with IRC helpers
Submitted by Bruno - 8 years ago
0
python

get youtube vid ID

match #2
Submitted by parzivail - 8 years ago
1
javascript

trans with var

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

DEMO

no description available
Submitted by anonymous - 8 years ago
1
python

GDI Prüfung 20.01.2012

no description available
Submitted by anonymous - 8 years ago
1
python

RFC 3936

Parses URIs according to RFC3936
Submitted by anonymous - 8 years ago
1
javascript

match url

unsplash.com
Submitted by anonymous - 8 years ago
0
python

1

no description available
Submitted by anonymous - 8 years ago
8
javascript

UUID

no description available
Submitted by anonymous - 8 years ago

torstatus.blutmagie.de list parser

Vote

1

Regular Expression
python

"
<tr class='(.)'><td class='TR(.)'><a href='http://www\.openstreetmap\.org\/\?mlon=([-\d\.]+)&mlat=([-\d\.]+)&zoom=\d+' target='_blank'><img src='img\/flags\/(\w+)\.gif' class='flag' width='\d+px' title='(.+)' alt='\w+' border='0'><\/a>&nbsp;<a href='router_detail\.php\?FP=([a-zA-Z0-9]+)' target='_blank'>([^\<]+)<\/a><\/td><td class='TDb'><table cellspacing='0' cellpadding='0' class='bwb'><tr title='([^']+)'><td class='bwr.?'><img src='img/bar/\d+.png' width='\d+px' height='15px' alt='\d+'></td><td>&nbsp;<small>&nbsp;\d+</small></td></tr></table></td><td class='TDc.?'>([^<]+)</td><td class='TDS'><table class='iT'><tr><td class='iT'>([^\[]+)\[<a class='who' href='/cgi\-bin/whois.pl\?ip=[\d\.]+' target='_blank'>([\d\.]+)</a>\]</td>(<td><img src='img/status/Fast.png' title='Fast Server' alt='Fast Server'></td>)?(<td><img src='img/status/Exit.png' title='Exit Server' alt='Exit Server'></td>)?(<td><img src='img/status/Dir.png' title='Directory Server' alt='Directory Server'></td>)?(<td><img src='img/status/Guard.png' title='Guard Server' alt='Guard Server'></td>)?(<td><img src='img/status/Stable.png' title='Stable Server' alt='Stable Server'></td>)?(<td><img src='img/status/Authority.png' title='Authority Server' alt='Authority Server'/></td>)?<td><img src='[^']+' title='([^']+)' alt='[^']+'></td>(<td><img src='[^']+' title='([^']*)' alt='[^']*'></td>)?</tr></table></td><td class='TDc'>(<b>)?(\d*)(</b>)?</td><td class='TDc'>(<b>)?([None\d]*)(</b>)?</td><td class='(F\d)'></td></tr>
"
g

Description

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