View Single Post
Old 01-31-2009, 08:28 PM   PM User | #4
Inigoesdr
Super Moderator


 
Inigoesdr's Avatar
 
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,601
Thanks: 2
Thanked 397 Times in 390 Posts
Inigoesdr is a jewel in the roughInigoesdr is a jewel in the roughInigoesdr is a jewel in the rough
No, you can't use backreferences with replace. What you could do is loop through the rows, match/replace your string with a regular expression(preg_replace()), and update the row.
Inigoesdr is offline   Reply With Quote