Skip to content

Instantly share code, notes, and snippets.

@kcrwfrd
Created May 1, 2013 18:16
Show Gist options
  • Save kcrwfrd/5497104 to your computer and use it in GitHub Desktop.
Save kcrwfrd/5497104 to your computer and use it in GitHub Desktop.
A collection of RegEx search/replaces that I've used
Search:
(-?[0-9.]+)rem
Replace:
rem($1)
Example:
2rem -> rem(2)
-2rem -> rem(-2)
1.5rem -> rem(1.5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment