preg_replace help (escaping characters)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
echazen
Forum Newbie
Posts: 1
Joined: Fri Jan 30, 2004 5:07 pm

preg_replace help (escaping characters)

Post by echazen »

i need to preg_replace the line below with an empty space " ". i receive errors because i'm not escaping specific characters properly. can anyone help?

<link HREF="/styles/razor.css" REL=styleSheet TYPE="text/CSS">
User avatar
vigge89
Forum Regular
Posts: 875
Joined: Wed Jul 30, 2003 3:29 am
Location: Sweden

Post by vigge89 »

why don't u just use [php_man]str_replace[/php_man]?
Post Reply