Created
February 1, 2011 17:58
-
-
Save jbilcke/806275 to your computer and use it in GitHub Desktop.
edit this regex to suit your GEXF
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
REPLACE | |
label="(.*)"> | |
<attvalues> | |
<attvalue for="classification" value="(.*)"></attvalue> | |
<attvalue for="embassy" value="(.*)"></attvalue> | |
<attvalue for="start" value="(.*)"></attvalue> | |
BY | |
label="\1" start="\4"> | |
<attvalues> | |
<attvalue for="classification" value="\2"></attvalue> | |
<attvalue for="embassy" value="\3"></attvalue> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment