Created
December 23, 2014 23:08
-
-
Save alexserver/0d5fd7fa3a1f3f061f02 to your computer and use it in GitHub Desktop.
settings user regReplace
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
{ | |
"replacements": { | |
// Example replacements | |
"google_docs_remove_html": { | |
"find": "(.|\\n)*<body((?!>).)*>(((?!<\\/body>).|\\n)+)<\\/body>(.|\\n)*", | |
"replace": "\\3", | |
"greedy": false, | |
"case": false | |
}, | |
"google_docs_remove_ractive_rows": { | |
"find": "<tr((?!>).)+>((?!(</tr>)|(\\{\\{((?!\\{\\{).)+\\}\\})).|\\n)+(\\{\\{(\\#|\\^)((?!\\{\\{).)+\\}\\}|\\{\\{\\/((?!\\{\\{).)+\\}\\})((?!(</tr>)|(\\{\\{((?!\\{\\{).)+\\}\\})).|\\n)+</tr>", | |
"replace": "\\6", | |
"greedy": true, | |
"case": false | |
}, | |
"unescape_html_tags_for_markup_open": { | |
"find": "<\\$", | |
"replace": "<", | |
"greedy": true, | |
"case": false | |
}, | |
"unescape_html_tags_for_markup_close": { | |
"find": "\\$>", | |
"replace": ">", | |
"greedy": true, | |
"case": false | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment