Skip to content

Instantly share code, notes, and snippets.

@samir
Created March 17, 2009 18:56
Show Gist options
  • Save samir/80709 to your computer and use it in GitHub Desktop.
Save samir/80709 to your computer and use it in GitHub Desktop.
UPDATE table SET field = REPLACE(field, "before", "after") WHERE field REGEXP "([pattern])";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment