Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save christinebuckler/de4f2d425ed10b03173fc89efbe9c88c to your computer and use it in GitHub Desktop.
Save christinebuckler/de4f2d425ed10b03173fc89efbe9c88c to your computer and use it in GitHub Desktop.
regex_find_replace_match
# Find
\((.*)
# Replace
($1) AS $1
# Example
,SUM(rtn_ttl_u
,SUM(rtn_ttl_u) AS rtn_ttl_u
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment