Created
January 12, 2017 00:48
-
-
Save tnhu/4569211a3f1c6758ba22e7281aa739b3 to your computer and use it in GitHub Desktop.
Sublime regular expression search & replace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Find what: (^.*): (.*$) | |
Replace with: "$1": "$2", | |
-- | |
Before: | |
memberOf: CN=Realtime Systems,OU=DEPT,OU=Groups,DC=corp,DC=qc | |
department: Inventory & DMP | |
After: | |
"memberOf": "CN=Realtime Systems,OU=DEPT,OU=Groups,DC=corp,DC=qc", | |
"department": "Inventory & DMP", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment