Regular Expressions 101

Save & Share

  • Regex Version: ver. 1
  • Update Regex
    ctrl+⇧+s
  • Save new Regex
    ctrl+s
  • Add to Community Library

Flavor

  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java 8
  • .NET 7.0 (C#)
  • Rust
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests

Tools

Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression
No Match

/
/
gi

Test String

Code Generator

Generated Code

const regex = /(\/splan\/ical[^"]*)/gi; // Alternative syntax using RegExp constructor // const regex = new RegExp('(\\\/splan\\\/ical[^"]*)', 'gi') const str = ` <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Stundenpl&#228;ne HFU </title> <meta name="keywords" lang="de" content="Stundenplan, Hochschule Furtwangen, HFU, splan, starplan" > <meta name="keywords" lang="en" content="Timetable, University Furtwangen, HFU, splan, starplan" > <meta name="description" lang="de" content="Stundenpläne der Hochschule Furtwangen" > <meta name="description" lang="en" content="Timetables of the University of Furtwangen" > <link rel="shortcut icon" type="image/vnd.microsoft.icon" href="/splan/pictures/favicon.ico"/> <link rel="icon" type="image/vnd.microsoft.icon" href="/splan/pictures/favicon.ico"/> <link rel="stylesheet" type="text/css" href="/splan/css/splan.css"/> <link rel="stylesheet" type="text/css" href="/splan/css/datepickercontrol.css"/> <script type="text/JavaScript" src="/splan/js/datepickercontrol.js"></script> <script type="text/JavaScript" src="/splan/js/splanjavascript.js"></script> <script type="text/JavaScript"> function clearJSessionCookie() { document.cookie = 'JSESSIONID=; expires=Thu, 01-Jan-70 00:00:01 GMT;'; } </script> </head> <body> <input type="hidden" id="DPC_TODAY_TEXT" value="heute"/> <input type="hidden" id="DPC_BUTTON_TITLE" value="Kalender &#246;ffnen..."/> <input type="hidden" id="DPC_MONTH_NAMES" value="[&apos;Januar&apos;, &apos;Februar&apos;, &apos;M&#228;rz&apos;, &apos;April&apos;, &apos;Mai&apos;, &apos;Juni&apos;, &apos;Juli&apos;, &apos;August&apos;, &apos;September&apos;, &apos;Oktober&apos;, &apos;November&apos;, &apos;Dezember&apos;]"/> <input type="hidden" id="DPC_DAY_NAMES" value="[&apos;So&apos;, &apos;Mo&apos;, &apos;Di&apos;, &apos;Mi&apos;, &apos;Do&apos;, &apos;Fr&apos;, &apos;Sa&apos;]"/> <input type="hidden" id="DPC_DEFAULT_FORMAT" value="DD.MM.YYYY"/> <input type="hidden" id="DPC_FIRST_WEEK_DAY" value="1"/> <input type="hidden" id="DPC_AUTO_SHOW" value="true"/> <input type="hidden" id="DPC_SUBMIT_FORMAT" value="DD.MM.YYYY"/> <div id="splanheader"> <table width="100%"> <colgroup> <col width="120px" /> <col width="*" /> <col width="150px" /> <col width="150px" /> </colgroup> <tr> <td rowspan="2" valign="middle"> <a href="/splan"><img style="border: 0;" src="/splan/pictures/orgLogoLarge.png" /></a></td> <td rowspan="2" style="font-weight: bold; font-size: 20px;"> Stunden- und Veranstaltungspl&#228;ne f&#252;r CNB4 </td> <td style="white-space: nowrap;"> Sprache: &#xA0; <a href="/splan/std?act=tt&amp;lan=de&amp;pg=CNB4&amp;pu=-1&amp;sel=pg&amp;og=1433"> <img src="/splan/pictures/germany.gif" alt="Deutsch" title="Deutsch" border="0" width="20" height="10" /></a> &#xA0; <a href="/splan/std?act=tt&amp;lan=en&amp;pg=CNB4&amp;pu=-1&amp;sel=pg&amp;og=1433"> <img src="/splan/pictures/uk.gif" alt="Englisch" title="Englisch" border="0" width="20" height="10" /></a></td> <td style="white-space: nowrap;"> <table> <tr> <td align="center"><a href="http://www.progotec.de/site/splandok/Stundenplan_Software_StarPlan_-_Bedienungshilfe" class="splanhref" target="_blank"> <img src="/splan/pictures/help.png" title="StarPlan-Hilfe" alt="StarPlan-Hilfe" border="0"> </a></td> <td><a href="http://www.progotec.de/site/splandok/Stundenplan_Software_StarPlan_-_Bedienungshilfe" class="splanhref" target="_blank">StarPlan-Hilfe</a> </td> </tr> </table> </td> </tr> <tr> <td /> <td> <table> <tr> <td><a href="/splan/std?act=lv&amp;nact=tt&amp;pg=CNB4&amp;lan=de&amp;pu=-1&amp;sel=pg&amp;og=1433" class="splanhref"> <img style="border: 0" src="/splan/pictures/login.png" title="Anmelden" alt="Anmelden" /></a></td> <td><a class="splanhref" href="/splan/std?act=lv&amp;nact=tt&amp;pg=CNB4&amp;lan=de&amp;pu=-1&amp;sel=pg&amp;og=1433">Anmelden </a></td> </tr> </table> </td> </tr> </table> </div> <div style="height: 100%;"> <form action="/splan/std" method="get" name="timetableform" style="height: 100%;"> <input type="hidden" name="act" value="tt" /> <input type="hidden" name="lan" value="de" /> <div style="width: 100%; float: top; height: 27px; border-bottom: 1px solid #CCCCCC"> <span class="splanleftnaviElement" > <a class="splanref" href="/splan/std?act=tt&amp;pg=CNB4&amp;lan=de&amp;pu=-1&amp;sel=pg&amp;og=1433"> Stundenpl&#228;ne </a> </span> <span class="splanleftnaviElement" style="font-weight: normal; background: url('pictures/topraster.png') repeat-x;" > <a class="splanref" href="/splan/std?act=scan&amp;pg=CNB4&amp;lan=de&amp;pu=-1&amp;sel=pg&amp;og=1433"> Freien Raum suchen </a> </span> <span class="splanleftnaviElement" style="font-weight: normal; background: url('pictures/topraster.png') repeat-x;" > <a class="splanref" href="/splan/std?act=mt&amp;pg=CNB4&amp;lan=de&amp;pu=-1&amp;og=1433"> Plan konfigurieren </a> </span> </div> <div id="splancontentleft"> <table width="100%"> <colgroup> <col width="120px" /> <col width="*" /> </colgroup> <tr> <td>Semester:</td> <td><select name="pu" style="width: 100%;" onchange="var h = document.getElementById('loc');if (h != null) h.selectedIndex = -1; h = document.getElementById('og');if (h != null) h.selectedIndex = -1; this.form.submit()" > <option value="4" > WiSe 12/13 </option> <option value="5" > SoSe 2013 </option> <option value="7" > SoSe 2014 </option> <option value="6" > WiSe 13/14 </option> <option value="-1" selected="selected"> WiSe 14/15 </option> </select></td> </tr> <tr> <td colspan="1">Auswahl:</td> <td><input type="radio" name="sel" checked="checked" onchange="this.form.submit()" onclick="this.form.submit()" style="vertical-align: text-bottom;" value="pg" />Studentengruppe</td> </tr> <tr> <td>&#xA0;</td> <td><input type="radio" name="sel" onchange="this.form.submit()" onclick="this.form.submit()" style="vertical-align: text-bottom;" value="ro" />Raum</td> </tr> <tr> <td>Studiengang:</td> <td><select name="og" id="og" style="width: 100%;" onchange="this.form.submit()" > <option value="--"> Bitte w&#228;hlen... </option> <option value="1476" > * Veranstaltung </option> <option value="1481" > *AStA </option> <option value="1428" > ACM </option> <option value="1465" > AGW </option> <option value="1430" > AIB </option> <option value="1543" > APE </option> <option value="1448" > BAM </option> <option value="1416" > BCM </option> <option value="1410" > BME </option> <option value="1431" > BPT </option> <option value="1432" > CEB </option> <option value="1433" selected="selected"> CNB </option> <option value="1519" > DIM </option> <option value="1445" > DKB </option> <option value="1462" > DMM </option> <option value="1434" > EEB </option> <option value="1459" > ETI </option> <option value="1527" > GS StudiumPlus </option> <option value="1360" > HFU-Akademie </option> <option value="1536" > IAM </option> <option value="1484" > IBC </option> <option value="1429" > IBM </option> <option value="1444" > IBW </option> <option value="1441" > ICS </option> <option value="1453" > IEB </option> <option value="1469" > IEX </option> <option value="1500" > IME </option> <option value="1449" > IMF </option> <option value="1474" > IMM </option> <option value="1450" > IMT </option> <option value="1537" > INM </option> <option value="1451" > ISD </option> <option value="1466" > IVE </option> <option value="1510" > Int.Semester FU </option> <option value="1511" > Int.Semester VS </option> <option value="1064" > Language Center </option> <option value="1427" > MB </option> <option value="1426" > MBX </option> <option value="1463" > MD </option> <option value="1521" > MDT </option> <option value="1436" > MEB </option> <option value="1544" > MES </option> <option value="1425" > MIB </option> <option value="1520" > MIM </option> <option value="1460" > MKB </option> <option value="1435" > MM </option> <option value="1538" > MOS </option> <option value="1458" > MTZ </option> <option value="1446" > MVB </option> <option value="1545" > MZ </option> <option value="1547" > NBT </option> <option value="1424" > OMB </option> <option value="1437" > PEB </option> <option value="1419" > SEM </option> <option value="1454" > SMA </option> <option value="1461" > SMB </option> <option value="1452" > SPB </option> <option value="1447" > SSB </option> <option value="1513" > SSM </option> <option value="1508" > StudiumPlus ETI </option> <option value="1509" > StudiumPlus IEB </option> <option value="1507" > StudiumPlus MM </option> <option value="1522" > TP </option> <option value="1497" > Tutorien </option> <option value="1523" > WI TREFFER </option> <option value="1421" > WIB </option> <option value="1420" > WNB </option> <option value="1478" > WPV </option> </select></td> </tr> <tr> <td>Studentengruppe:</td> <td><select name="pg" id="pg" style="width: 100%;" onchange="this.form.submit()" > <option value="--"> Bitte w&#228;hlen... </option> <option value="CNB1" > CNB1 </option> <option value="CNB2" > CNB2 </option> <option value="CNB3" > CNB3 </option> <option value="CNB4" selected="selected"> CNB4 </option> <option value="CNB5" > CNB5 </option> <option value="CNB6" > CNB6 </option> <option value="CNB7" > CNB7 </option> </select></td> </tr> <tr> <td>Anzeige mit Datum:</td> <td><input type="radio" name="sd" checked="checked" onchange="this.form.submit()" onclick="this.form.submit()" style="vertical-align: text-bottom;" value="false" />nein &#xA0;&#xA0;&#xA0; <input type="radio" name="sd" onchange="this.form.submit()" onclick="this.form.submit()" style="vertical-align: text-bottom;" value="true" />ja </td> </tr> <tr> <td>Anzeige mit Einzelbuchungen:</td> <td><input type="radio" name="sa" checked="checked" onchange="this.form.submit()" onclick="this.form.submit()" style="vertical-align: text-bottom;" value="false" />nein &#xA0;&#xA0;&#xA0; <input type="radio" name="sa" onchange="this.form.submit()" onclick="this.form.submit()" style="vertical-align: text-bottom;" value="true" />ja </td> </tr> <tr> <td /> <td colspan="1"> <table> <tr> <td><a href="/splan/std?act=print&amp;pg=CNB4&amp;lan=de&amp;pu=-1&amp;sel=pg&amp;og=1433"> <img style="border: 0;" align="middle" src="/splan/pictures/printer.png" title="Auswahl drucken" alt="Auswahl drucken"/> </a></td> <td><a class="splanhref" href="/splan/std?act=print&amp;pg=CNB4&amp;lan=de&amp;pu=-1&amp;sel=pg&amp;og=1433"> Auswahl drucken</a></td> </tr> </table> </td> </tr> <tr> <td /> <td colspan="1"><a href="/splan/ical?type=pg&amp;puid=8&amp;pgid=2505&amp;lan=de"><img style="align: middle; border: 0;" src="/splan/pictures/ical.png" alt="ics feed" height="20" /></a> <a href="http://www.progotec.de/site/splandok/iCal-Anbindung" target="_blank"><img style="align: middle; border: 0;" alt="Hilfe zu ICal" src="/splan/pictures/hilfe.png" title="Hilfe zu ICal" height="20" /></a> </td> </tr> <tr> <td> <td> </tr> <tr> <td colspan="2"><a class="splanhref" href="#" onclick="javascript:return bookmark();">Diese Seite zu den Favoriten hinzuf&#252;gen</a></td> </tr> </table> <div style="margin-top: 10px; margin-left: 3px;"> <div id="splanlegend"> <div class="splandefault"> Bedeutung der Farben: </div> <div class="splanweekly"> w&#246;chentlich </div> <div class="splanweekly2"> vierzehnt&#228;gig </div> <div class="splanweekly3"> alle drei Wochen </div> <div class="splanweekly4"> alle vier Wochen </div> <div class="splansingulardate"> Einzeltermin(e) </div> <div class="splanholiday"> Ferien/Feiertag </div> <div class="splanexam"> Pr&#252;fung </div> </div> </div> <div class="splanmessages"> </div> <noscript> <div class="splanmessages"> <div class="splanwarning"> Bitte aktivieren Sie JavaScript in Ihren Browser-Einstellungen! Sie k&#246;nnen die Seite sonst nicht optimal benutzen. </div> </div> </noscript> <div id="splanwebnotes"><b>Bemerkungen:</b><br/><b><sup>*1</sup></b> mit CNB</div> <script> document.timetableform.pg.focus(); </script> </div> <div id="splancontentright" > <div style="position: relative"> <div class="splanttheaderbg" style="position:absolute; height:35px; top:0px; left:0px; width:960px;"></div><div style="position:absolute; height:35px; top:0px; left:0px; width:60px;"><div class="splantimetableheader" style="border-left-width:1px; height:32px;" >Zeit</div></div><div style="position:absolute; height:35px; top:0px; left:60px; width:180px;"><div class="splantimetableheader" style="height:32px;" >Montag</div></div> <div style="position:absolute; height:35px; top:0px; left:240px; width:180px;"><div class="splantimetableheader" style="height:32px;" >Dienstag</div></div> <div style="position:absolute; height:35px; top:0px; left:420px; width:180px;"><div class="splantimetableheader" style="height:32px;" >Mittwoch</div></div> <div style="position:absolute; height:35px; top:0px; left:600px; width:180px;"><div class="splantimetableheader" style="height:32px;" >Donnerstag</div></div> <div style="position:absolute; height:35px; top:0px; left:780px; width:180px;"><div class="splantimetableheader" style="height:32px;" >Freitag</div></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:35px; left:0px; width:60px; "><span class="splantimetableLeftColumn" >7:00</span></div> <div style="position:absolute; height:60px; background-color:white; top:95px; left:0px; width:60px; "><span class="splantimetableLeftColumn" >8:00</span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:155px; left:0px; width:60px; "><span class="splantimetableLeftColumn" >9:00</span></div> <div style="position:absolute; height:60px; background-color:white; top:215px; left:0px; width:60px; "><span class="splantimetableLeftColumn" >10:00</span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:275px; left:0px; width:60px; "><span class="splantimetableLeftColumn" >11:00</span></div> <div style="position:absolute; height:60px; background-color:white; top:335px; left:0px; width:60px; "><span class="splantimetableLeftColumn" >12:00</span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:395px; left:0px; width:60px; "><span class="splantimetableLeftColumn" >13:00</span></div> <div style="position:absolute; height:60px; background-color:white; top:455px; left:0px; width:60px; "><span class="splantimetableLeftColumn" >14:00</span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:515px; left:0px; width:60px; "><span class="splantimetableLeftColumn" >15:00</span></div> <div style="position:absolute; height:60px; background-color:white; top:575px; left:0px; width:60px; "><span class="splantimetableLeftColumn" >16:00</span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:635px; left:0px; width:60px; "><span class="splantimetableLeftColumn" style="border-bottom-width:1px; height:56px;" >17:00</span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:35px; left:60px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:95px; left:60px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:155px; left:60px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:215px; left:60px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:275px; left:60px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:335px; left:60px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:395px; left:60px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:455px; left:60px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:515px; left:60px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:575px; left:60px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:635px; left:60px; width:180px; "><span class="splantimetableWeekdayColumn" style="border-bottom-width:1px; height:56px;" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:35px; left:240px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:95px; left:240px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:155px; left:240px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:215px; left:240px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:275px; left:240px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:335px; left:240px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:395px; left:240px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:455px; left:240px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:515px; left:240px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:575px; left:240px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:635px; left:240px; width:180px; "><span class="splantimetableWeekdayColumn" style="border-bottom-width:1px; height:56px;" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:35px; left:420px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:95px; left:420px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:155px; left:420px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:215px; left:420px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:275px; left:420px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:335px; left:420px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:395px; left:420px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:455px; left:420px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:515px; left:420px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:575px; left:420px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:635px; left:420px; width:180px; "><span class="splantimetableWeekdayColumn" style="border-bottom-width:1px; height:56px;" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:35px; left:600px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:95px; left:600px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:155px; left:600px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:215px; left:600px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:275px; left:600px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:335px; left:600px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:395px; left:600px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:455px; left:600px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:515px; left:600px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:575px; left:600px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:635px; left:600px; width:180px; "><span class="splantimetableWeekdayColumn" style="border-bottom-width:1px; height:56px;" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:35px; left:780px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:95px; left:780px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:155px; left:780px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:215px; left:780px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:275px; left:780px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:335px; left:780px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:395px; left:780px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:455px; left:780px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:515px; left:780px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:white; top:575px; left:780px; width:180px; "><span class="splantimetableWeekdayColumn" ></span></div> <div style="position:absolute; height:60px; background-color:#F8F8FF; top:635px; left:780px; width:180px; "><span class="splantimetableWeekdayColumn" style="border-bottom-width:1px; height:56px;" ></span></div> <div style="position:absolute; top:455px; left:59px; width:181px; height:90px; "><div class="splaneventweekly" style="height:89px;" title="Mobile Systeme und Anwendungen; &#10;Dr.rer.nat Elmar Cochlovius; &#10;CNB4; &#10;FU B1.32; &#10;14:00-15:30" >FU B1.32<br/>MobSysAnw<br/>Cochlovius<br/>CNB4<br/><span class="splanFontSmall">14:00-15:30</span></div></div><div style="position:absolute; top:80px; left:419px; width:181px; height:90px; "><div class="splaneventweekly" style="height:89px;" title="IT-Sicherheit in verteilten Infrastrukturen; &#10;B.Sc. Fabian Berner; &#10;CNB4; &#10;FU B4.01; &#10;07:45-09:15" >FU B4.01<br/>ITSicherh<br/>Berner<br/>CNB4<br/><span class="splanFontSmall">07:45-09:15</span></div></div><div style="position:absolute; top:185px; left:419px; width:181px; height:90px; "><div class="splaneventweekly" style="height:89px;" title="Projektmanagement; &#10;Dr. rer.pol Mohsen Rezagholi; &#10;AIB4, CNB4; &#10;FU B2.09; &#10;09:30-11:00" >FU B2.09<br/>ProjManag <sup>*1</sup><br/>Rezagholi<br/>CNB4<br/><span class="splanFontSmall">09:30-11:00</span></div></div><div style="position:absolute; top:290px; left:419px; width:181px; height:90px; "><div class="splaneventweekly" style="height:89px;" title="Projektmanagement, Seminar; &#10;Dr. rer.pol Mohsen Rezagholi; &#10;AIB4, CNB4; &#10;FU B2.04; &#10;11:15-12:45" >FU B2.04<br/>ProjManagS<br/>Rezagholi<br/>CNB4<br/><span class="splanFontSmall">11:15-12:45</span></div></div><div style="position:absolute; top:185px; left:599px; width:181px; height:90px; "><div class="splaneventweekly" style="height:89px;" title="Projektmanagement, Seminar; &#10;Dr. rer.pol Mohsen Rezagholi; &#10;AIB4, CNB4; &#10;FU B1.32; &#10;09:30-11:00" >FU B1.32<br/>ProjManagS<br/>Rezagholi<br/>CNB4<br/><span class="splanFontSmall">09:30-11:00</span></div></div><div style="position:absolute; top:290px; left:599px; width:91px; height:90px; "><div class="splaneventweekly" style="height:89px;" title="Mobile Systeme und Anwendungen; &#10;Dr.rer.nat Elmar Cochlovius; &#10;CNB4; &#10;FU B2.01; &#10;11:15-12:45" >FU B2.01<br/>MobSysAnw<br/>Cochlovius<br/>CNB4<br/><span class="splanFontSmall">11:15-12:45</span></div></div><div style="position:absolute; top:290px; left:689px; width:91px; height:90px; "><div class="splaneventweekly" style="height:89px;" title="Mobile Systeme und Anwendungen; &#10;Dr.rer.nat Elmar Cochlovius; &#10;CNB4; &#10;FU B3.01; &#10;11:15-12:45" >FU B3.01<br/>MobSysAnw<br/>Cochlovius<br/>CNB4<br/><span class="splanFontSmall">11:15-12:45</span></div></div><div style="position:absolute; top:455px; left:599px; width:181px; height:90px; "><div class="splaneventweekly" style="height:89px;" title="IT-Sicherheit in verteilten Infrastrukturen, Praktikum; &#10;B.Sc. Fabian Berner; &#10;CNB4; &#10;FU B2.12; &#10;14:00-15:30" >FU B2.12<br/>ITSicherPr<br/>Berner<br/>CNB4<br/><span class="splanFontSmall">14:00-15:30</span></div></div> <div class="splanhreffooter" style="top: 695px"> <div style="height:5px"></div> Letzte &#196;nderung: 03.11.2014 09:00 <br/> <div style="height: 7px"></div> <span> Powered by <img style="vertical-align: middle;" src="/splan/pictures/logo_20.png" title="StarPlan" alt="StarPlan" /> <a href="http://www.progotec.de/site/de/Stundenplan_Software_StarPlan" target="_blank" class="splanhref">StarPlan</a>. </span> </div> </div> </div> </form> </div> </body> </html>`; // Reset `lastIndex` if this regex is defined globally // regex.lastIndex = 0; let m; while ((m = regex.exec(str)) !== null) { // This is necessary to avoid infinite loops with zero-width matches if (m.index === regex.lastIndex) { regex.lastIndex++; } // The result can be accessed through the `m`-variable. m.forEach((match, groupIndex) => { console.log(`Found match, group ${groupIndex}: ${match}`); }); }

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 JavaScript, please visit: https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions