Regular Expressions 101

Community Library Entry

0

Regular Expression
ECMAScript (JavaScript)

/
<div class="h2Tbl">(?:\s*)<h2 class="tbl01">(?:<span class="park">(.*)<\/span>)?(?:<span>)?(.*)(?:<\/span>)?<\/h2>(?:\s*)<\/div>(?:\s*)<p>(.*)<\/p>(?:\s*)<dl class="serchListA">(?:\s*)(?:<dt>(.*)(?:\s*)<span class="timeIcon01">開催前<\/span>(?:\s*)<span class="evtIcon01"><\/span>(?:\s*)<\/dt>(?:\s*)<dd class="link"><span class="link"><a href="(.*)">(.*)<\/a><\/span>(?:\s*)<dl class="serchDtl">(?:\s*)<dt>参加方法:<\/dt>(?:\s*)<dd>(.*)<\/dd>(?:\s*)<dt>年齢制限:<\/dt>(?:\s*)<dd>(.*)<\/dd>(?:\s*)<dt>開催日程:<\/dt>(?:\s*)<dd>(.*)<\/dd>(?:\s*)<dt>開催時間:<\/dt>(?:\s*)<dd>(.*)<\/dd>(?:\s*)<dt>開催日:<\/dt>(?:\s*)<dd>(.*)<\/dd>(?:\s*)<dt>終了日:<\/dt>(?:\s*)<dd>(.*)<\/dd>(?:\s*)(?:<dt>備考:<\/dt>(?:\s*)<dd>([\s\S]*?)<\/dd>(?:\s*))?<\/dl>(?:\s*)<\/dd>(?:\s*))*<\/dl>
/
gm

Description

no description available

Submitted by anonymous - 7 years ago