Regular Expressions 101

Community Patterns

Community Library Entry

1

Regular Expression
ECMAScript (JavaScript)

/
alt="(.*?)" class="results-grid__provider-logo"><\/li> <li class="results-grid__item results-grid__annual-price"><!----> <p><span class="results-grid__annual-price--integer">£(\d{1,})<\/span> <span class="results-grid__annual-price--fractional">.(\d{1,}).*?\n\s{1,}(\d{1,}x)\n\s{1,}.*?\n\s{1,}(£\d{1,}\.\d{1,})\n\s{1,}.*?\n\s{1,}(\d{1,}x)\n\s{1,}.*?\n\s{1,}(£\d{1,}\.\d{1,})\n\s{1,}.*?\n\s{1,}(Total)\n\s{1,}.*?\n\s{1,}(£\d{1,}\.\d{1,})\n\s{1,}<\/dd><\/dl><\/li>
/
gm

Description

no description available

Submitted by anonymous - 4 years ago