Thread
:
Use wildcard find and place segment of field in another field?
View Single Post
01-31-2009, 08:28 PM
PM User
|
#
4
Inigoesdr
Super Moderator
Join Date: Mar 2007
Location: Florida, USA
Posts: 3,601
Thanks: 2
Thanked 397 Times in 390 Posts
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
View Public Profile
Find More Posts by Inigoesdr