import Foundation
let pattern = #"""
<tr[^>]*>[^<]*<td>[^>]*>(?<No>[^<]*)<[^>]*><\/td>[^<]*<td>(<strong>)?[^>]*>(<div[^>]*>)?([^<]*<img[^>]*>)*(?<jmeno>[^<]*)(<a[^>]*>)?([^<]*<img[^>]*>)?([^<]*<\/a>)?(<strong>)?(<img[^>]*>)?[^<]*(<\/span><\/strong>)?(<font[^>]*>)?[^<]*(<a[^>]*>)?([^<]*<img[^>]*><\/a>)?[^<]*(<\/font[^>]*><\/strong>[^<]*<\/div>)?[^<]*<\/td>
[^<]*<td[^>]*>[^<]*<[^>]*>(?<level>[^<]*)?[^<]*<[^>]*><\/td>
[^<]*<td[^>]*>[^<]*<[^>]*>[^<]*(<strong>[^<]*)?(<font[^>]*>)?(<a[^>]*>)?(?<id>[^<]*)(<\/a[^>]*>)?(<\/font>[^<]*)?(<\/strong>[^<]*)?[^<]*<img[^=]*=[^=]*="(?<active>[^"]*)[^>]*>
"""#
let regex = try! NSRegularExpression(pattern: pattern, options: .anchorsMatchLines)
let testString = ##"""
<script>window.focus()</script>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>My Genealogy Report</title>
<link href="css/en.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
#apDiv1 {
position:absolute;
left:6px;
top:4px;
width:292px;
height:18px;
z-index:1;
}
-->
</style>
</head>
<body bgcolor="#EAF4D1" leftmargin="2" topmargin="3" >
<div id="apDiv1" style="line-height:18px"><span style="background-color:#B3CC4D; color:#FFFFFF"> <br />
Active Member <img src="../includes/images/active.gif" alt="Active" /></span> <span style="background-color:#FF6666; color:#FFFFFF">In-Active Member <img src="../includes/images/inactive.gif" alt="Inactive" /></span></div>
<table border="0" cellpadding="1" cellspacing="1" bgcolor="#6ebde9">
<tr>
<td height="39" colspan="22" align="center" bgcolor="#289EDD"><font color="#FFFFFF"><strong>Distributor Genealogy Report</strong></font></td>
</tr>
<tr>
<td rowspan="2" align="center" bgcolor="#45ABE2" ><font color="#FFFFFF"><span class="smallfont">No.</span></font></td>
<td rowspan="2" align="center" bgcolor="#45ABE2" ><font color="#FFFFFF"><span class="smallfont">Name (Email)</span></font></td>
<td rowspan="2" align="center" bgcolor="#45ABE2" ><font color="#FFFFFF"><span class="smallfont">Level</span></font></td>
<td rowspan="2" align="center" bgcolor="#45ABE2" ><font color="#FFFFFF"><span class="smallfont">Dist ID</span></font></td>
<td rowspan="2" align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">Email</font></span></td>
<td rowspan="2" align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">Phone</font></span></td>
<td rowspan="2" align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">Bus. Phone</font></span></td>
<td rowspan="2" align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">Prov/State</font></span></td>
<td rowspan="2" align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">Country</font></span></td>
<td rowspan="2" align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">Rank</font></span></td>
<td rowspan="2" align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">Sponsor ID</font></span></td>
<td rowspan="2" align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">Sponsor Name</font></span></td>
<td rowspan="2" align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">Due Date</font></span></td>
<td rowspan="2" align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">Discount %</font></span></td>
<td colspan="4" align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">
Oct. 2017 </font></span></td>
<td colspan="4" align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">
Sep. 2017 </font></span></td>
</tr>
<tr>
<td align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">PGV</font></span></td>
<td align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">OV</font></span></td>
<td align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">Legs</font></span></td>
<td align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">P-Legs</font></span></td>
<td align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">PGV</font></span></td>
<td align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">OV</font></span></td>
<td align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">Legs</font></span></td>
<td align="center" bgcolor="#45ABE2"><span class="smallfont"><font color="#FFFFFF">P-Legs</font></span></td>
</tr>
<tr bgcolor="#FFFFFF">
<td>
<span class="smallfont">
1 </span></td>
<td><strong><span class="smallfont">
Samuel Kaleta
<a href="mailto:skaleta@seznam.cz"><img src="../includes/images/email.gif" alt="skaleta@seznam.cz" width="13" height="9" border="0" /></a>
</span></strong></td>
<td align="center"><strong class="smallfont">0</strong></td>
<td bgcolor="#B3CC4D">
<div style="white-space:nowrap" class="smallfont"><strong> <font color="#FFFFFF">
13980242 </font> </strong>
<img src="../includes/images/active.gif" alt="Active" />
</div></td>
<td>
<span class="smallfont">
<a href="mailto:skaleta@seznam.cz">skaleta@seznam.cz</a>
</span></td>
<td>
<span class="smallfont">
420 602230645 </span></td>
<td>
<span class="smallfont">
420 371120039 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
CZ </span></td>
<td>
<span class="smallfont">
REG </span></td>
<td>
<span class="smallfont">
13858242 </span></td>
<td>
<span class="smallfont">
Vaclav Lamr </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
May 30 2018 </div>
</td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
1,365 </span></td>
<td align="center">
<span class="smallfont">
5,280 </span></td>
<td align="center">
<span class="smallfont">
1 </span></td>
<td align="center">
<span class="smallfont">
0 </span></td>
<td align="center">
<span class="smallfont">
1,285 </span></td>
<td align="center">
<span class="smallfont">
4,000 </span></td>
<td align="center">
<span class="smallfont">
1 </span></td>
<td align="center">
<span class="smallfont">
0 </span></td>
</tr> <tr bgcolor="#eaeaea">
<td><span class="smallfont">2</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Jerzy Klopot <strong><font color="#FFFFFF">
<a href="mailto:jerzyklopot@neostrada.pl"><img src="../includes/images/email.gif" alt="jerzyklopot@neostrada.pl" width="13" height="9" border="0" /></a>
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=17260448&time=1509047640" style="color:#FFFFFF">
17260448 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
<a href="mailto:jerzyklopot@neostrada.pl">jerzyklopot@neostrada.pl</a>
</span></td>
<td>
<span class="smallfont">
0602183264 </span></td>
<td>
<span class="smallfont">
0166217599 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
PL </span></td>
<td>
<span class="smallfont">
D. </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Mar 19 2006 </div>
</td>
<td align="center">
<span class="smallfont">
20 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><span class="smallfont">3</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Miluše Flíčková <strong><font color="#FFFFFF">
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=23269142&time=1509047640" style="color:#FFFFFF">
23269142 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
420 569447113 </span></td>
<td>
<span class="smallfont">
420 721867507 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
CZ </span></td>
<td>
<span class="smallfont">
D. </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
May 3 2007 </div>
</td>
<td align="center">
<span class="smallfont">
20 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#eaeaea">
<td><span class="smallfont">4</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Petr Vaňkát <strong><font color="#FFFFFF">
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=23355342&time=1509047640" style="color:#FFFFFF">
23355342 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
420 376570665 </span></td>
<td>
<span class="smallfont">
420 608706887 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
CZ </span></td>
<td>
<span class="smallfont">
DIR </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
May 7 2006 </div>
</td>
<td align="center">
<span class="smallfont">
40 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><span class="smallfont">5</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Bohumila FazekašOvá <strong><font color="#FFFFFF">
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=23355442&time=1509047640" style="color:#FFFFFF">
23355442 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
420376572253 </span></td>
<td>
<span class="smallfont">
420603877960 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
CZ </span></td>
<td>
<span class="smallfont">
D. </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Jun 20 2004 </div>
</td>
<td align="center">
<span class="smallfont">
20 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#eaeaea">
<td><span class="smallfont">6</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Anh Tu Trinh <strong><font color="#FFFFFF">
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=800062042&time=1509047640" style="color:#FFFFFF">
800062042 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
420 267911632 </span></td>
<td>
<span class="smallfont">
420 721126112 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
CZ </span></td>
<td>
<span class="smallfont">
D. </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
May 26 2005 </div>
</td>
<td align="center">
<span class="smallfont">
20 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><span class="smallfont">7</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Martin Tesař <strong><font color="#FFFFFF">
<a href="mailto:shop@biosfera.cz"><img src="../includes/images/email.gif" alt="shop@biosfera.cz" width="13" height="9" border="0" /></a>
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=80011574642&time=1509047640" style="color:#FFFFFF">
80011574642 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
<a href="mailto:shop@biosfera.cz">shop@biosfera.cz</a>
</span></td>
<td>
<span class="smallfont">
420 604977979 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
CZ </span></td>
<td>
<span class="smallfont">
D. </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Apr 29 2006 </div>
</td>
<td align="center">
<span class="smallfont">
20 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#eaeaea">
<td><span class="smallfont">8</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Marie Lamrová <strong><font color="#FFFFFF">
<a href="mailto:christ.art@seznam.cz"><img src="../includes/images/email.gif" alt="christ.art@seznam.cz" width="13" height="9" border="0" /></a>
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=80011582342&time=1509047640" style="color:#FFFFFF">
80011582342 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
<a href="mailto:christ.art@seznam.cz">christ.art@seznam.cz</a>
</span></td>
<td>
<span class="smallfont">
420 774503142 </span></td>
<td>
<span class="smallfont">
420 222951603 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
CZ </span></td>
<td>
<span class="smallfont">
DIR </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Jun 17 2006 </div>
</td>
<td align="center">
<span class="smallfont">
40 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><span class="smallfont">9</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Renata Jirušová <strong><font color="#FFFFFF">
<a href="mailto:jirusov@volny.cz"><img src="../includes/images/email.gif" alt="jirusov@volny.cz" width="13" height="9" border="0" /></a>
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=80011606042&time=1509047640" style="color:#FFFFFF">
80011606042 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
<a href="mailto:jirusov@volny.cz">jirusov@volny.cz</a>
</span></td>
<td>
<span class="smallfont">
420 353826692 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
CZ </span></td>
<td>
<span class="smallfont">
D. </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Mar 2 2007 </div>
</td>
<td align="center">
<span class="smallfont">
20 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#eaeaea">
<td><span class="smallfont">10</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Dr. Jan Kino <strong><font color="#FFFFFF">
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=80011607042&time=1509047640" style="color:#FFFFFF">
80011607042 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
421 905243548 </span></td>
<td>
<span class="smallfont">
4213376264-12 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
SK </span></td>
<td>
<span class="smallfont">
DIR </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Mar 20 2015 </div>
</td>
<td align="center">
<span class="smallfont">
40 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><span class="smallfont">11</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot_blank.gif" height="15"><img src="../includes/images/dot.gif" height="15"> Julian Gerula <strong><font color="#FFFFFF">
</font></strong></div></td>
<td align="center"><span class="smallfont">2</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=80011617042&time=1509047640" style="color:#FFFFFF">
80011617042 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
421 337627070 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
SK </span></td>
<td>
<span class="smallfont">
D. </span></td>
<td>
<span class="smallfont">
80011607042 </span></td>
<td>
<span class="smallfont">
Dr. Jan Kino </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Jul 27 2007 </div>
</td>
<td align="center">
<span class="smallfont">
20 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#eaeaea">
<td><span class="smallfont">12</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot_blank.gif" height="15"><img src="../includes/images/dot_end.gif" height="15"> Mudr, Eva Kinova <strong><font color="#FFFFFF">
</font></strong></div></td>
<td align="center"><span class="smallfont">2</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=SK-80-00434&time=1509047640" style="color:#FFFFFF">
SK-80-00434 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
421 337626412 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
SK </span></td>
<td>
<span class="smallfont">
D. </span></td>
<td>
<span class="smallfont">
80011607042 </span></td>
<td>
<span class="smallfont">
Dr. Jan Kino </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Oct 15 2009 </div>
</td>
<td align="center">
<span class="smallfont">
25 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><span class="smallfont">13</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> David Urbánek <strong><font color="#FFFFFF">
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=80011610842&time=1509047640" style="color:#FFFFFF">
80011610842 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
420 608611552 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
CZ </span></td>
<td>
<span class="smallfont">
C. </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Jun 6 2007 </div>
</td>
<td align="center">
<span class="smallfont">
10 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#eaeaea">
<td><span class="smallfont">14</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Lucie Černá <strong><font color="#FFFFFF">
<a href="mailto:luckacerna@seznam.cz"><img src="../includes/images/email.gif" alt="luckacerna@seznam.cz" width="13" height="9" border="0" /></a>
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=80011611542&time=1509047640" style="color:#FFFFFF">
80011611542 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
<a href="mailto:luckacerna@seznam.cz">luckacerna@seznam.cz</a>
</span></td>
<td>
<span class="smallfont">
420 737454028 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
CZ </span></td>
<td>
<span class="smallfont">
D. </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Jun 21 2007 </div>
</td>
<td align="center">
<span class="smallfont">
20 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><span class="smallfont">15</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Miloš Kulik <strong><font color="#FFFFFF">
<a href="mailto:milos@wmx.sk"><img src="../includes/images/email.gif" alt="milos@wmx.sk" width="13" height="9" border="0" /></a>
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=80011612242&time=1509047640" style="color:#FFFFFF">
80011612242 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
<a href="mailto:milos@wmx.sk">milos@wmx.sk</a>
</span></td>
<td>
<span class="smallfont">
421 337741129 </span></td>
<td>
<span class="smallfont">
421 908484448 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
SK </span></td>
<td>
<span class="smallfont">
D. </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Jun 29 2007 </div>
</td>
<td align="center">
<span class="smallfont">
20 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#eaeaea">
<td><span class="smallfont">16</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Jaroslav Soukup <strong><font color="#FFFFFF">
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=80011617342&time=1509047640" style="color:#FFFFFF">
80011617342 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
420 378132779 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
CZ </span></td>
<td>
<span class="smallfont">
D. </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Aug 2 2007 </div>
</td>
<td align="center">
<span class="smallfont">
20 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><span class="smallfont">17</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Lenka Vajdíková <strong><font color="#FFFFFF">
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=80011618942&time=1509047640" style="color:#FFFFFF">
80011618942 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
420 602829503 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
CZ </span></td>
<td>
<span class="smallfont">
D. </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Aug 23 2007 </div>
</td>
<td align="center">
<span class="smallfont">
20 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#eaeaea">
<td><span class="smallfont">18</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Jana Píšová <strong><font color="#FFFFFF">
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=80011623442&time=1509047640" style="color:#FFFFFF">
80011623442 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
420 604787673 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
CZ </span></td>
<td>
<span class="smallfont">
D. </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Sep 29 2007 </div>
</td>
<td align="center">
<span class="smallfont">
20 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><span class="smallfont">19</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Marie Jaroschy <strong><font color="#FFFFFF">
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#FF6666">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=80011625142&time=1509047640" style="color:#FFFFFF">
80011625142 </a>
<img src="../includes/images/inactive.gif" alt="Inactive" />
</div></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
CZ </span></td>
<td>
<span class="smallfont">
C. </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Oct 31 2007 </div>
</td>
<td align="center">
<span class="smallfont">
10 </span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
<td align="center">
<span class="smallfont">
</span></td>
</tr>
<tr bgcolor="#eaeaea">
<td><span class="smallfont">20</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot.gif" height="15"> Zdena Kaletova <strong><font color="#FFFFFF">
<a href="mailto:z.kaletova@centrum.cz"><img src="../includes/images/email.gif" alt="z.kaletova@centrum.cz" width="13" height="9" border="0" /></a>
</font></strong></div></td>
<td align="center"><span class="smallfont">1</span></td>
<td bgcolor="#B3CC4D">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=80011630542&time=1509047640" style="color:#FFFFFF">
80011630542 </a>
<img src="../includes/images/active.gif" alt="Active" />
</div></td>
<td>
<span class="smallfont">
<a href="mailto:z.kaletova@centrum.cz">z.kaletova@centrum.cz</a>
</span></td>
<td>
<span class="smallfont">
420 604726709 </span></td>
<td>
<span class="smallfont">
420 371120039 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
CZ </span></td>
<td>
<span class="smallfont">
EXE </span></td>
<td>
<span class="smallfont">
13980242 </span></td>
<td>
<span class="smallfont">
Samuel Kaleta </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Jan 22 2018 </div>
</td>
<td align="center">
<span class="smallfont">
40 </span></td>
<td align="center">
<span class="smallfont">
2,410 </span></td>
<td align="center">
<span class="smallfont">
3,600 </span></td>
<td align="center">
<span class="smallfont">
0 </span></td>
<td align="center">
<span class="smallfont">
0 </span></td>
<td align="center">
<span class="smallfont">
1,680 </span></td>
<td align="center">
<span class="smallfont">
2,295 </span></td>
<td align="center">
<span class="smallfont">
0 </span></td>
<td align="center">
<span class="smallfont">
0 </span></td>
</tr>
<tr bgcolor="#FFFFFF">
<td><span class="smallfont">21</span></td>
<td><div style="white-space:nowrap" class="smallfont"> <img src="../includes/images/dot_blank.gif" height="15"><img src="../includes/images/dot.gif" height="15"> Pavla Kulikova <strong><font color="#FFFFFF">
<a href="mailto:intra@okshop.eu"><img src="../includes/images/email.gif" alt="intra@okshop.eu" width="13" height="9" border="0" /></a>
</font></strong></div></td>
<td align="center"><span class="smallfont">2</span></td>
<td bgcolor="#B3CC4D">
<div style="white-space:nowrap" class="smallfont">
<a href="genealogy_pre.php?level=10&countrycode=&renewed=n&id_up=80011633242&time=1509047640" style="color:#FFFFFF">
80011633242 </a>
<img src="../includes/images/active.gif" alt="Active" />
</div></td>
<td>
<span class="smallfont">
<a href="mailto:intra@okshop.eu">intra@okshop.eu</a>
</span></td>
<td>
<span class="smallfont">
421 944094404 </span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
</span></td>
<td>
<span class="smallfont">
SK </span></td>
<td>
<span class="smallfont">
DIR </span></td>
<td>
<span class="smallfont">
80011630542 </span></td>
<td>
<span class="smallfont">
Zdena Kaletova </span></td>
<td>
<div style="white-space:nowrap" class="smallfont">
Mar 22 2018 </div>
</td>
<td align="center">
<span class="smallfont">
40 </span></td>
<td align="center">
<span class="smallfont">
0 </span></td>
<td align="center">
<span class="smallfont">
0 </span></td>
<td align="center">
<span class="smallfont">
0 </span></td>
<td align="center">
<span class="smallfont">
0 </span></td>
<td align="center">
<span class="smallfont">
0 </span></td>
<td align="center">
<span class="smallfont">
0 </span></td>
<td align="center">
<span class="smallfont">
0 </span></td>
<td align="center">
<span class="smallfont">
0 </span></td>
</tr>
</table>
<p> </p>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-993491-6', 'auto');
ga('send', 'pageview');
</script></body>
</html>
<script>
window.focus();
</script>
"""##
let stringRange = NSRange(location: 0, length: testString.utf16.count)
let matches = regex.matches(in: testString, range: stringRange)
var result: [[String]] = []
for match in matches {
var groups: [String] = []
for rangeIndex in 1 ..< match.numberOfRanges {
let nsRange = match.range(at: rangeIndex)
guard !NSEqualRanges(nsRange, NSMakeRange(NSNotFound, 0)) else { continue }
let string = (testString as NSString).substring(with: nsRange)
groups.append(string)
}
if !groups.isEmpty {
result.append(groups)
}
}
print(result)
Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for Swift 5.2, please visit: https://developer.apple.com/documentation/foundation/nsregularexpression