PDA

View Full Version : regular expressions



bh2k
04-09-2005, 04:15 PM
Anyone any good with these damn things? I just can't get mine to work right. I'm trying to match and replace php functions which in basic form are like "print();" but can be anything as complex as "preg_replace("^[a-zA-Z0-9$",$replace,$code);"

Can anyone think of a good regex pattern to help do this?