A kind of, search and replace
You guys at sitepoint have been a great help to me, so I thought you might be the right ones to ask about my latest dilemma. :) I'm trying to write a search & replace script... kinda. I need php to take a block of text (in this case an article), take only the very first letter of the very first paragraph, and replace it with HTML for an image of that letter. You get what I'm looking for here? Sometimes I'm not all that good at explaining what I'm after. :) But basically I just need it to auto-detect the first letter of an article and replace it with a big fancy letter. Thanks in advance!!