|
![]() |
#1 |
član
Certified
Datum učlanjenja: 05.11.2005
Poruke: 82
Hvala: 7
1 "Hvala" u 1 poruci
![]() |
![]() probao sam ovako
Kôd:
<?php $x = '<img src="images/image.jpg" tppabs="http://www.some_site.com/category/asd5/images/image.jpg" width="xxx" border="x" height="xx" alt="xxxxxxxxx" >'; $x = preg_replace('tppabs\s*=\s*"[^"]*"' , '', $x); echo $x; ?> Kôd:
Warning</b>: preg_replace(): Delimiter must not be alphanumeric or backslash in PHPDocument2.php on line 3 |
![]() |
![]() |
![]() |
#2 |
VD IT Direktora
Invented the damn thing
Datum učlanjenja: 08.06.2005
Lokacija: Beograd
Poruke: 2.118
Hvala: 503
1.307 "Hvala" u 282 poruka
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() Kôd:
$x = preg_replace('/tppabs\s*=\s*"[^"]*"/i' , '', $x); ![]() |
![]() |
![]() |
![]() |
#3 |
član
Certified
Datum učlanjenja: 05.11.2005
Poruke: 82
Hvala: 7
1 "Hvala" u 1 poruci
![]() |
![]() radi!
10x |
![]() |
![]() |
![]() |
Alati teme | |
Način prikaza | |
|
|
![]() |
||||
Tema | Početna poruka teme | Forum | Odgovori | Poslednja poruka |
Korisni linkovi - PHP regex i form validacija sa PHP 5.2 | conica | Regular expression i htaccess | 1 | 11. 01. 2012. 10:35 |
Regex: Match html tag-a sa klasom | _eW | Regular expression i htaccess | 8 | 13. 02. 2011. 19:21 |
find + cron + regex | mega023 | Regular expression i htaccess | 6 | 14. 04. 2010. 01:06 |
RegExr - Free Online RegEx Testing Tool | pRED | Regular expression i htaccess | 2 | 01. 08. 2009. 19:43 |
regex i nasa slova | ludakbre | Sva početnička pitanja | 11 | 12. 04. 2008. 02:32 |