Regular Expressions 101

Library entries

iMiner

Vote

1

Regular Expression
pcre

/
<div class="col-md-3">\s*<div class="card text-center">[\s]*<img src="https:\/\/my\.dedino\.ir\/storage\/plans\/[\d]{3}\.jpg" width="200" height="200" class="card-img-top" alt="(?'MainerName'.*)">[\s]*<div class="card-body">[\s]*<h5 class="card-title">.*<\/h5>[\s]*<p class="card-text"><\/p>[\s]*<a href="https:\/\/my\.dedino\.ir\/panel\/cart\/preview\/[\d]{3}" class=".*">[\s]*<i class="fa fa-cart-plus"><\/i>\s*\W*<\/a>\s*<\/div>\s*<div class="card-footer text-muted text-center">\s*\W*<strong dir="ltr" data-toggle="tooltip" data-placement="top" title="(?'Rial'[\d]{0,3}[,]{0,1}[\d]{0,3}[,]{0,1}[\d]{0,3}[,]{0,1}[\d]{0,3})\s*\W*"><u>(?'P'0.[0-9]{0,10})\s*BTC\/\s*month<\/u>\s*<\/strong>\s*<\/div>\s*<div class="card-footer text-muted text-center">\s*\W*<strong dir="ltr">(?'Cost'[0-9]{0,2})%<\/strong>\s*<\/div>\s*<div class="card-footer text-muted text-center">\s*\W*<strong dir="ltr">(?'Total'0.[0-9]{0,10})BTC\s*\/month\s*<\/strong>\s*<\/div>\s*<\/div>\s*<\/div>
/
gm

Description

Loading markdown...
Submitted by anonymous - a year ago