PDA

View Full Version : گرفتن عبارت مورد نظر در داخل یک فایل از طریق preg_match



mhabat
جمعه 22 شهریور 1392, 17:46 عصر
سلام.

می خوام از طریق preg_match این خط رو بگیرم از داخل فایل s.txt:

href="https://www.google.com/imghp?q=mohammad&hl=en&tab=wi

دستورشو این طور نوشتم:


$a=file_get_contents('s.txt');
preg_match_all("/[^proxy=]/", $a, $matches);
$str="";
foreach($matches[0] as $value)
{
$str.= $value;
}
preg_match_all("/[^/\z]/", $str, $r);
foreach($r[0] as $values)
{
$strs.= $values;
}
echo $strs;


محتویات s.txt:


e="margin-left:12px"> <span style="color:#fff;padding:8px 12px 6px 0;zoom:1">Come here often? Make Google your homepage.</span> <div id="mgmhppdyes" onclick="google.promos&&google.promos.mgmhp&& google.promos.mgmhp.pd_cp()" onmouseover="google.promos&&google.promos.mgmhp&& google.promos.mgmhp.pd_be(event)" onmouseout="google.promos&&google.promos.mgmhp&& google.promos.mgmhp.pd_be(event)" style="background-color:#2255cb;FILTER:progid:DXImageTransform.Micro soft.Gradient(startColorStr=#2255cb,endColorStr=#1 93e9a,gradienttype=0);color:#bcc9e8;cursor:pointer ;display:inline-block;margin-left:10px;padding:8px 12px 6px;zoom:1">Sure</div> <div id="mgmhppdno" onclick="google.promos&&google.promos.mgmhp&& google.promos.mgmhp.pd_dp('pn')" onmouseover="google.promos&&google.promos.mgmhp&& google.promos.mgmhp.pd_be(event)" onmouseout="google.promos&&google.promos.mgmhp&& google.promos.mgmhp.pd_be(event)" style="background-color:#2255cb;FILTER:progid:DXImageTransform.Micro soft.Gradient(startColorStr=#2255cb,endColorStr=#1 93e9a,gradienttype=0);color:#bcc9e8;cursor:pointer ;display:inline-block;margin-left:10px;padding:8px 12px 6px;zoom:1">No thanks</div> </div> <script type="text/javascript">(function(){var c={a:{}};c.a.localStorage={};c.a.localStorage.d=fu nction(a){var b=!0;try{b=!a.cookie}catch(d){}return b};c.a.localStorage.g=function(){if(c.a.localStora ge.d(document))return!1;try{return"object"==typeof window.localStorage}catch(a){return!1}};c.a.localS torage.i=function(a){return c.a.localStorage.d(document)?"":(a=window.localStorage.getItem(a))?a.toString():""};c.a.localStorage.o=function(a,b){c.a.localStorag e.d(document)||window.localStorage.setItem(a,b)};c .a.localStorage.k=function(a){c.a.localStorage.d(d ocument)||window.localStorage.removeItem(a)};googl e.promos||(google.promos={});google.promos.ActionT ype={ACCEPT:"a",CANCEL:"c",DISMISS:"d",CLICK:"h",IMPRESSION:"i",NO_THANKS:"n",X_BUTTON:"x",MGMHP_ACCEPT:"ma",MGMHP_CANCEL:"mc",MGMHP_IMPRESSION:"mi",MGMHPPD_ACCEPT:"pa",MGMHPPD_CANCEL:"pc",MGMHPPD_IMPRESSION:"pi",MGMHPPD_NO_THANKS:"pn",MGMHPPD_NO_BUTTON:"px",MGMHPPD_DISMISS:"pd",PUSHDOWN_ACCEPT:"gpa",PUSHDOWN_IMPRESSION:"gpi",PUSHDOWN_NO_THANKS:"gpn",PUSHDOWN_NO_BUTTON:"gpx",PUSHDOWN_DISMISS:"gpd"};google.promos.sl=function(a,b,d,e){a=[d,"id="+a,"loc="+google.sn];a.push("oi=promoslinger");e&&a.push(e);google.log(b,a.join("&"))};google.promos.si=function(a,b,d,e){0.01>Math.random()&&google.promos.sl(a,b,e?e:google.promos.ActionType. IMPRESSION,d)};function f(a){var b=!0;try{b=!a.cookie}catch(d){}return b}google.promos.spd=function(a,b,d){if(!f(document ))if(c.a.localStorage.g())c.a.localStorage.o(b,d); else if(a)try{a.setAttribute(b,d),a.save(a.id)}catch(e) {google.ml(e,!1,{cause:"PERSIST_DATA_FAIL"})}};google.promos.gpd=function(a,b){if(f(document ))return"";if(c.a.localStorage.g())return c.a.localStorage.i(b);if(a)try{return a.load(a.id),a.getAttribute(b)}catch(d){google.ml( d,!1,{cause:"PERSIST_DATA_FAIL"})}return""};google.promos.rpd=function(a,b){if(c.a.localStor age.g())c.a.localStorage.k(b);else if(a)try{a.load(a.id),a.removeAttribute(b),a.save( a.id)}catch(d){google.ml(d,!1,{cause:"PERSIST_DATA_FAIL"})}};google.promos.aeh=function(a,b,d){a.addEventL istener?a.addEventListener(b,d,!1):a.attachEvent&&a.attachEvent("on"+b,d)};})();</script> <script type="text/javascript">(function(){var e={a:{}};e.a.d={};e.a.d.g="web-pr-hpvisit";e.a.d.i=function(){return Math.floor(google.time()/864E5)};var f=window.location.protocol+"//"+window.location.host+"/",g=[f,window.location.protocol+"//"+window.location.host,f+"webhp/",f+"webhp",f+"ig/",f+"ig",window.location.href];google.promos.mgmhp||(google.promos.mgmhp={});fun ction h(a){var b=google.promos.gpd(a,e.a.d.g);if(!b)return!1;var d;try{d=parseInt(b,10)}catch(c){return google.ml(c,!1,{cause:"MGMHP_HPVISIT",data:b}),!1}if(d>=e.a.d.i()-7)return!0;google.promos.rpd(a,e.a.d.g);return!1}
google.promos.mgmhp.isGoogleHomepage=function(a){v ar b=!1;try{b=window.external.isGoogleHomePage()}catc h(d){if(h(a))return!0;var c=google.promos.gpd(a,"mgmhp_hp_url");c&&g.push(c);for(c=0;c<g.length;c++){var k=g[c];if(b=b||a.isHomePage(k))return!0}}return b};google.promos.mgmhp.setGoogleHomepage=function( a,b){var d=f;b&&(d+="?rlz="+b);a.setHomePage(d);return google.promos.mgmhp.isGoogleHomepage(a)||b&&a.isHomePage(d)};google.promos.mgmhp.buildAddition alData=function(a,b,d){var c=[];d&&c.push("ic="+d);a&&c.push("rlz="+a);b&&c.push(b);return c.join("&")};google.promos.mgmhp.setCanShowPushdown=function (a){google.promos.mgmhp.canShowPushdown_=a};google .promos.mgmhp.canShowPushdown=function(){return google.promos.mgmhp.canShowPushdown_};})();</script> <script type="text/javascript">(function(){var d={A:"mgmhppd",a:"mgmhp_pd_count_1111",d:"mgmhp_pd_dp",g:"mgmhp_pd_fhp",s:"mgmhppdyes",o:"mgmhppdno",k:"mngb",i:"gog",w:"searchform",v:".sfbg",B:"appbar_b"},f=document.getElementById(d.A),h,k,l,m,n=!1,p="mgmhp";function q(b){var a=!google.promos.gpd(b,d.d),c=parseInt(google.prom os.gpd(b,d.a)||0,10),e=25>c,a=a&&e,e=!1;if(a){var g="webhp"==google.sn;window.chrome?g?google.promos.mgmhp.fh p=!0:e=google.promos.mgmhp.fhp:(e=google.promos.gp d(b,d.g)&&"web"==google.sn,google.promos.spd(b,d.g,g?"1":""))}(a=a&&!e)&&google.promos.spd(b,d.a,c+1);return a}function r(b,a,c){a=c?a:-a;return b.offsetTop+a+"px"}
function t(b){var a=document.getElementById(d.w),c=document.querySel ector&&document.querySelector(d.v),e=f.offsetHeight;a&&"relative"!=google.style.getComputedStyle(a,"position",!0)&&(a.style.top=r(a,e,b));c&&!google.psy&&(c.style.top=r(c,e,b));google.msg&&google.msg.send(64)}
google.promos.mgmhp.pd_tp=function(b){try{if(f){va r a=document.getElementById(d.k)||document.getElemen tById(d.i);if(b){if(!google.psy||"web"!=google.sn||""!=f.style.display){var c;b=-1;if("Microsoft Internet Explorer"==navigator.appName){var e=navigator.userAgent.match("MSIE ([0-9]+)[.0-9]*");e&&e[1]&&(b=parseInt(e[1],10))}c=b;if(7==c&&-1==navigator.userAgent.indexOf("Trident/")){var g=document.getElementById(d.s),s=document.getEleme ntById(d.o);g&&(g.style.display="inline");s&&(s.style.display="inline")}f.style.display=
"";t(!0);a&&(a.style.position="relative");document.body.style.marginTop=0}}else t(!1),f.style.display="none",a&&(a.style.position=""),document.body.style.marginTop=""}}catch(v){google.ml(v,!1,{cause:"MGMHP_PD_TP"})}};google.promos.mgmhp.pd_cp=function(){try{if(f ){var b=google.promos.mgmhp.setGoogleHomepage(f,l),a=goo gle.promos.ActionType.MGMHPPD_CANCEL;b&&(a=google.promos.ActionType.MGMHPPD_ACCEPT,google. promos.mgmhp.pd_tp(!1));google.promos.sl(h,k,a,goo gle.promos.mgmhp.buildAdditionalData(l,m,google.pr omos.gpd(f,d.a)))}}catch(c){google.ml(c,!1,{cause:"MGMHP_PD_CP"})}};google.promos.mgmhp.pd_dp=function(b){try{goo gle.promos.spd(f,d.d,"1"),google.promos.mgmhp.pd_tp(!1),google.promos.sl(h ,k,b?b:google.promos.ActionType.MGMHPPD_DISMISS,go ogle.promos.mgmhp.buildAdditionalData(l,m,google.p romos.gpd(f,d.a)))}catch(a){google.ml(a,!1,{cause:"MGMHP_PD_CP"})}};google.promos.mgmhp.pd_be=function(b){try{var a=b.target||b.srcElement;switch(b.type){case "mouseover":a.style.color="#fff";break;case "mouseout":a.style.color="#bcc9e8"}}catch(c){google.ml(c,!1,{cause:"MGMHP_PD_BE"})}};function u(){google.promos.mgmhp.pd_tp(!0);n="webhp"==google.sn}function w(){n&&google.promos.mgmhp.pd_tp(!1);google.raas&&google.raas(p,{})}google.promos.mgmhp.initPulldown =function(b,a,c,e){h=b;k=a;l=c;m=e;google.promos.m gmhp.setCanShowPushdown(f&&!google.promos.mgmhp.isGoogleHomepage(f)&&q(f))};google.x({id:"mgmhppd"},function(){try{google.promos.mgmhp.canShowPushdo wn()&&(google.raas?google.raas(p,{init:u,dispose:w}):u() ,google.promos.si(h,k,null,google.promos.ActionTyp e.MGMHPPD_IMPRESSION))}catch(b){google.ml(b,!1,{ca use:"MGMHP_INIT"})}});})();</script> <script>(function(){var sourceWebappPromoID=27002;var payloadType=2;var rlz='';var logParams='';google.promos&&google.promos.mgmhp&&
google.promos.mgmhp.initPulldown(sourceWebappPromo ID,payloadType,rlz,logParams);})();</script> </div><div id="mngb"><div id=gb><script>window.gbar&&gbar.eli&&gbar.eli()</script><div id=gbw><div id=gbz><span class=gbtcb></span><ol id=gbzc class=gbtc><li class=gbt><a onclick=gbar.logger.il(1,{t:119}); class=gbzt id=gb_119 href="https://plus.google.com/?gpsrc=ogpy0&tab=wX"><span class=gbtb2></span><span class=gbts>+You</span></a></li><li class=gbt><a onclick=gbar.logger.il(1,{t:1}); class="gbzt gbz0l gbp1" id=gb_1 href="https://www.google.com/webhp?hl=en&tab=ww"><span class=gbtb2></span><span class=gbts>Search</span></a></li><li class=gbt><a onclick=gbar.qs(this);gbar.logger.il(1,{t:2}); class=gbzt id=gb_2 href="https://www.google.com/imghp?q=mohammad&hl=en&tab=wi"><span class=gbtb2></span><span class=gbts>Images</span></a></li><li class=gbt><a onclick=gbar.qs(this);gbar.logger.il(1,{t:8}); class=gbzt id=gb_8 href="https://maps.google.com/maps?q=mohammad&hl=en&tab=wl"><span class=gbtb2></span><span class=gbts>Maps</span></a></li><li class=gbt><a onclick=gbar.qs(this);gbar.logger.il(1,{t:78}); class=gbzt id=gb_78 href="https://play.google.com/?q=mohammad&hl=en&tab=w8"><span class=gbtb2></span><span class=gbts>Play</span></a></li><li class=gbt><a onclick=gbar.qs(this);gbar.logger.il(1,{t:36}); class=gbzt id=gb_36 href="https://www.youtube.com/?q=mohammad&tab=w1"><span class=gbtb2></span><span class=gbts>YouTube</span></a></li><li class=gbt><a onclick=gbar.logger.il(1,{t:5}); class=gbzt id=gb_5 href="https://news.google.com/nwshp?hl=en&tab=wn"><span class=gbtb2></span><span class=gbts>News</span></a></li><li class=gbt><a onclick=gbar.logger.il(1,{t:23}); class=gbzt id=gb_23 href="https://mail.google.com/mail/?tab=wm"><span class=gbtb2></span><span class=gbts>Gmail</span></a></li><li class=gbt><a class=gbgt id=gbztm href="http://www.google.com/intl/en/options/" onclick="gbar.tg(event,this)" aria-haspopup=true aria-owns=gbd><span class=gbtb2></span><span id=gbztms class="gbts gbtsa"><span id=gbztms1>More</span><span class=gbma></span></span></a><div class=gbm id=gbd aria-owner=gbztm><div id=gbmmb class="gbmc gbsb gbsbis"><ol id=gbmm class="gbmcc gbsbic"><li class=gbmtc><a onclick=gbar.logger.il(1,{t:25}); class=gbmt id=gb_25 href="https://drive.google.com/?tab=wo">Drive</a></li><li class=gbmtc><a onclick=gbar.logger.il(1,{t:24}); class=gbmt id=gb_24 href="https://www.google.com/calendar?tab=wc">Calendar</a></li><li class=gbmtc><a onclick=gbar.qs(this);gbar.logger.il(1,{t:51}); class=gbmt id=gb_51 href="https://translate.google.com/?q=mohammad&hl=en&tab=wT">Translate</a></li><li class=gbmtc><a onclick=gbar.logger.il(1,{t:17}); class=gbmt id=gb_17 href="http://www.google.com/mobile/?hl=en&tab=wD">Mobile</a></li><li class=gbmtc><a onclick=gbar.qs(this);gbar.logger.il(1,{t:10}); class=gbmt id=gb_10 href="http://books.google.com/bkshp?q=mohammad&hl=en&tab=wp">Books</a></li><li class=gbmtc><a onclick=gbar.logger.il(1,{t:172}); class=gbmt id=gb_172 href="https://www.google.com/offers?utm_source=xsell&utm_medium=products&utm_campaign=sandbar&hl=en&tab=wG">Offers</a></li><li class=gbmtc><a onclick=gbar.logger.il(1,{t:212}); class=gbmt id=gb_212 href="https://wallet.google.com/manage/?tab=wa">Wallet</a></li><li class=gbmtc><a onclick=gbar.qs(this);gbar.logger.il(1,{t:6}); class=gbmt id=gb_6 href="http://www.google.com/shopping?q=mohammad&hl=en&tab=wf">Shopping</a></li><li class=gbmtc><a onclick=gbar.logger.il(1,{t:30}); class=gbmt id=gb_30 href="https://www.blogger.com/?tab=wj">Blogger</a></li><li class=gbmtc><a onclick=gbar.qs(this);gbar.logger.il(1,{t:27}); class=gbmt id=gb_27 href="https://www.google.com/finance?q=mohammad&tab=we">Finance</a></li><li class=gbmtc><a onclick=gbar.qs(this);gbar.logger.il(1,{t:31}); class=gbmt id=gb_31 href="https://plus.google.com/photos?q=mohammad&tab=wq">Photos</a></li><li class=gbmtc><a onclick=gbar.qs(this);gbar.logger.il(1,{t:12}); class=gbmt id=gb_12 href="http://video.google.com/?q=mohammad&hl=en&tab=wv">Videos</a></li><li class=gbmtc><div class="gbmt gbmh"></div></li><li class=gbmtc><a onclick=gbar.logger.il(1,{t:66}); href="http://www.google.com/intl/en/options/" class=gbmt>Even more &raquo;</a></li></ol><div class=gbsbt></div><div class=gbsbb></div></div></div></li></ol></div><div id=gbg><h2 class=gbxx>Account Options</h2><span class=gbtcb></span><ol class=gbtc><li class=gbt><a target=_top href="https://accounts.google.com/ServiceLogin?hl=en&continue=https://www.google.com/%3Fq%3Dmohammad" onclick="gbar.logger.il(9,{l:'i'})" id=gb_70 class=gbgt><span class=gbtb2></span><span id=gbgs4 class=gbts><span id=gbi4s1>Sign in</span></span></a></li><li class="gbt gbtb"><span class=gbts></span></li><li class=gbt><a class=gbgt id=gbg5 href="http://www.google.com/preferences?hl=en" title="Options" onclick="gbar.tg(event,this)" aria-haspopup=true aria-owns=gbd5><span class=gbtb2></span><span id=gbgs5 class=gbts><span id=gbi5></span></span></a><div class=gbm id=gbd5 aria-owner=gbg5><div class=gbmc><ol id=gbom class=gbmcc><li class="gbkc gbmtc"><a class=gbmt href="/preferences?hl=en">Search settings</a></li><li class=gbmtc><div class="gbmt gbmh"></div></li><li class="gbe gbmtc"><a id=gmlas class=gbmt href="/advanced_search?hl=en">Advanced search</a></li><li class="gbe gbmtc"><a class=gbmt href="/language_tools?hl=en">Language tools</a></li><li class=gbmtc><div class="gbmt gbmh"></div></li><li class="gbkp gbmtc"><a class=gbmt href="http://www.google.com/history/optout?hl=en">Web History</a></li></ol></div></div></li></ol></div></div><div id=gbx3></div><div id=gbx4></div><script>window.gbar&&gbar.elp&&gbar.elp()</script></div></div><div id="xjsc"></div><textarea id="wgjc" style="display:none"></textarea><textarea id="wgjs" style="display:none"></textarea><textarea id="wgju" style="display:none"></textarea><textarea id="hcache" style="display:none"></textarea><div class="content" id="main"><span class="ctr-p" id="body"><center><center><div class="jhp" id="searchform" style="margin-top:-2px"> <div class="sfbg nojsv" style="top:30px"> <div class="sfbgg"></div> </div> <form action="/search" id="tsf" method="GET" onsubmit="return q.value!=''" role="search" name="f" style="display:block;background:none"> <div id="tophf"> <input type=hidden name=site value=""> <input name="source" type="hidden" value="hp"> </div> <div class="tsf-p" style="position:relative"> <div class="nojsv" id="logocont" style="left:0;position:absolute;padding:"><h1><a id=logo href="https://www.google.com/webhp?hl=en" title="Go to Google Home"><img width=167 height=373 src="/images/nav_logo156.png" alt="Google"></a></h1></div> <div style="padding-bottom:2px;padding-top:3px"> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td width="100%"> <table border="0" cellpadding="0" cellspacing="0" width="100%" style="position:relative;border-bottom:1px solid transparent"> <tr> <td class="lst-td" id="sftab" width="100%" style="border:0"> <div class="lst-d lst-tbb"> <input class="lst lst-tbb" id="lst-ib" name="q" maxlength="2048" value="mohammad" title="Search" size="41" type="text" autocomplete="off"> </div> </td> <td> <div class="nojsb"> <div class="ds" id="sbds"> <div class="lsbb kpbb" id="sblsbb"> <button class="lsb" value="Search" type="submit" name="btnG"> <span class="sbico"></span> </button> </div> </div> </div> </td> </tr> </table> </td> <td> <div class="nojsv" id="sfopt" style="height:30px;position:relative"> <div class="lsd"> </div> </div> </td> </tr> <tr> <td> <div id="pocs" style="display:none"><div id="pocs0"><span><span>Google</span> Instant is unavailable. Press Enter to search.</span>&nbsp;<a href="/support/websearch/bin/answer.py?answer=186645&amp;form=bb&amp;hl=en">Learn more</a></div><div id="pocs1"><span>Google</span> Instant is off due to connection speed. Press Enter to search.</div><div id="pocs2">Press Enter to search.</div></div> </td> </tr> </table> </div> <div class="jsb" style="padding-top:2px"> <center> <input value="Google Search" jsaction="sf.chk" name="btnK" type="submit"> <input value="I'm Feeling Lucky" jsaction="sf.lck" name="btnI" type="submit"> </center> </div> </div> </form> </div><div id="gac_scont"></div></center><span id="prt" style="display:block"><div><style>.pmoabs{background-color:#fff;border:1px solid #E5E5E5;color:#666;font-size:13px;padding-bottom:20px;position:absolute;right:2px;top:3px;z-index:986}#pmolnk{border-radius:2px;-moz-border-radius:2px;-webkit-border-radius:2px}.kd-button-submit{border:1px solid #3079ed;background-color:#4d90fe;background-image:-webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#4787ed));background-image:-webkit-linear-gradient(top,#4d90fe,#4787ed);background-image:-moz-linear-gradient(top,#4d90fe,#4787ed);background-image:-ms-linear-gradient(top,#4d90fe,#4787ed);background-image:-o-linear-gradient(top,#4d90fe,#4787ed);background-image:linear-gradient(top,#4d90fe,#4787ed);filter:progid:DXImag eTransform.Microsoft.gradient(startColorStr='#4d90 fe',EndColorStr='#4787ed')}.kd-button-submit:hover{border:1px solid #2f5bb7;background-color:#357ae8;background-image:-webkit-gradient(linear,left top,left bottom,from(#4d90fe),to(#357ae8));background-image:-webkit-linear-gradient(top,#4d90fe,#357ae8);background-image:-moz-linear-gradient(top,#4d90fe,#357ae8);background-image:-ms-linear-gradient(top,#4d90fe,#357ae8);background-image:-o-linear-gradient(top,#4d90fe,#357ae8);background-image:linear-gradient(top,#4d90fe,#357ae8);filter:progid:DXImag eTransform.Microsoft.gradient(startColorStr='#4d90 fe',EndColorStr='#357ae8')}.kd-button-submit:active{-webkit-box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);-moz-box-shadow:inset 0 1px 2px rgba(0,0,0,0.3);box-shadow:inset 0 1px 2px rgba(0,0,0,0.3)}#pmolnk a{color:#fff;display:inline-block;font-weight:bold;padding:5px 20px;text-decoration:none;white-space:nowrap}.xbtn{color:#999;cursor:pointer;font-size:23px;line-height:5px;padding-top:5px}.padi{padding:0 8px 0 10px}.padt{padding:5px 20px 0 0;color:#444}.pads{text-align:left}</style> <div class="pmoabs" id="pmocntr2" style="behavior:url(#default#userdata);display:none"> <table border="0"> <tr> <td colspan="2"> <div class="xbtn" onclick="google.promos&&google.promos.toast&& google.promos.toast.cpc()" style="float:right">&times;</div> </td> </tr> <tr> <td class="padi" rowspan="2"> <img src="/images/icons/product/chrome-48.png"> </td> <td class="pads">A faster way to browse the web</td> </tr> <tr> <td class="padt"> <div class="kd-button-submit" id="pmolnk"> <a href="/chrome/index.html?hl=en&amp;brand=CHNG&amp;utm_source=en-hpp&amp;utm_medium=hpp&amp;utm_campaign=en" onclick="google.promos&&google.promos.toast&& google.promos.toast.cl()">Install Google Chrome</a> </div> </td> </tr> </table> </div> <script type="text/javascript">(function(){var a={v:"a",A:"l",w:"c",i:"d",k:"h",g:"i",L:"n",R:"x",I:"ma",J:"mc",K:"mi",B:"pa",C:"pc",F:"pi",H:"pn",G:"px",D:"pd",M:"gpa",O:"gpi",P:"gpn",Q:"gpx",N:"gpd"};var c={o:"hplogo",s:"pmocntr2"},e,g,k=document.getElementById(c.s);google.promos =google.promos||{};google.promos.toast=google.prom os.toast||{};function l(b){k&&(k.style.display=b?"":"none",k.parentNode&&(k.parentNode.style.position=b?"relative":""))}function m(b){try{if(k&&b&&b.es&&b.es.m){var d=wind


می خوام از طریق preg_match مقدار رو بگیرم ولی کار نمی کنه!