|
Posted by Erwin Kerk on 10/01/71 11:13
pete M wrote:
> The pattern
>
> $pattern = 'font\-size:.*?\;';
>
> throwns the error
> eregi_replace(): REG_BADRPT
>
Well, this should work (tested and all )
$pattern="|font\-size:.*?;|si";
$txt = preg_replace( $pattern, "", $txt );
Erwin
--
------------------------------------------------------------------------
mail : erwin@blixem.nl, erwin@infofeed.nl, erwinkerk@gmail.com
msn : erwin@blixem.nl
jabber : erwin@jabber.blixem.nl
skype : erwinkerk
hello : vlits
------------------------------------------------------------------------
Navigation:
[Reply to this message]
|