Skip to content

Instantly share code, notes, and snippets.

@patrickkettner
Last active December 11, 2015 11:59
Show Gist options
  • Save patrickkettner/4597819 to your computer and use it in GitHub Desktop.
Save patrickkettner/4597819 to your computer and use it in GitHub Desktop.
naïve regex to match xml in a database
(?=(<|&lt;))(.*?)(?!.*(>|gt;))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment