What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » [PHP] Help with regular expressions

[PHP] Help with regular expressions
Author: Message:
hmaster
Senior Member
****

Avatar

Posts: 716
Reputation: 24
33 / Male / Flag
Joined: Nov 2004
RE: [PHP] Help with regular expressions
You have to seperate them one at a time I think.
code:
$search = array("[b]","[/b]","[u]","[/u]","[s]","[/s]","·#","·@","·'","·0");

for($i = 0; $i < count($search); $i++) {
$string = str_replace($search[$i], "", $string);
}


This post was edited on 06-24-2006 at 03:35 PM by hmaster.
[Image: sig.png]
06-24-2006 03:34 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[PHP] Help with regular expressions - by Matti on 06-24-2006 at 02:39 PM
RE: [PHP] Help with regular expressions - by -dt- on 06-24-2006 at 02:45 PM
RE: [PHP] Help with regular expressions - by Matti on 06-24-2006 at 03:07 PM
RE: [PHP] Help with regular expressions - by surfichris on 06-24-2006 at 03:10 PM
RE: [PHP] Help with regular expressions - by Matti on 06-24-2006 at 03:12 PM
RE: [PHP] Help with regular expressions - by hmaster on 06-24-2006 at 03:34 PM
RE: [PHP] Help with regular expressions - by surfichris on 06-24-2006 at 03:38 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On