Re: Validate String and Remove

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thanks for the help. 

What about I don't know exactly the the other string behind <META HTTP-EQUIV= ???????????????????????>

Is that possible in preg_replace?

Thanks

Stephan Schulze <nahpeps@xxxxxx> wrote:                             This will not work because starting delimiter < and ending delimiter > 
 are not the same.
 
 Better to use:
 preg_replace('#<META HTTP-EQUIV=" refresh" CONTENT="0; 
 url=http://www.redyam. com/1.html">#','',$variable);
 
 Best regards
 
 abhishek jain schrieb:
 > 
 > 
 > Hi you need to use preg_replace:
 > $variable is the variable containing the string.
 > 
 > preg_replace('<META HTTP-EQUIV=" refresh" CONTENT="0; 
 > url=http://www.redyam. com/1.html">','',$variable);
 > 
 > http://uk2.php.net/preg_replace <http://uk2.php.net/preg_replace>
 
 -- 
 
 .. UND EIN RIESIGES SCHAF WIRD VOM HIMMEL FALLEN UND DIE WELT RETTEN!!!
 ACH IHR GLÜCKLICHEN  ;-)
 
     
                                       


 
LearnCareGo missions mobilization for local churches

       
---------------------------------
You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost.

[Non-text portions of this message have been removed]


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Soap]     [Kernel Newbies]     [Yosemite]     [Yosemite Campsites]

  Powered by Linux