Gossamer Forum
Home : General : Internet Technologies :

preg_replace question

Quote Reply
preg_replace question
Can a person use preg_replace to add tags around the first character in a string?

Something like $message = preg_replace(%, <big>%</big>, $message, 1); ?

I've never used this function so I'm not sure about what it can and cannot do. I know the syntax for that statement isn't correct, just out there so you know what I mean.
Subject Author Views Date
Thread preg_replace question JoFrRi 3800 Dec 5, 2004, 7:41 PM
Post Re: [JoFrRi] preg_replace question
Andy 3582 Dec 6, 2004, 12:45 AM