[ create a new paste ] login | about

Link: http://codepad.org/7givAwHA    [ raw code | output | fork ]

PHP, pasted on Mar 9:
1
2
3
4
5
<?php

$text = '<p justify;"="">Vers­lo cent­rai Lie­tu­vos ne­kil­no­ja­mo­jo turto plėt­ros aso­cia­ci­jos kon­kur­se ... </p>';
$content = preg_replace('/<[^>]*>/', '', $text); 
var_dump($content);


Output:
1
string(108) "Vers­lo cent­rai Lie­tu­vos ne­kil­no­ja­mo­jo turto plėt­ros aso­cia­ci­jos kon­kur­se ... "


Create a new paste based on this one


Comments: