Skip to content

Instantly share code, notes, and snippets.

@codeBelt
Created October 22, 2013 21:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codeBelt/7108324 to your computer and use it in GitHub Desktop.
Save codeBelt/7108324 to your computer and use it in GitHub Desktop.
Regex used in PhpStorm to replace a space character with underscore that has a character before and after it.
([\w])( )+([\w])
$1_$3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment