Skip to content

Instantly share code, notes, and snippets.

@ng
Created August 21, 2009 18:28
Show Gist options
  • Save ng/172283 to your computer and use it in GitHub Desktop.
Save ng/172283 to your computer and use it in GitHub Desktop.
<!-- old element -->
<item locID="hp1_Games_Game_Media">Game Media</item>
<!-- target element -->
<item locID="hp1_Games_Game_Media"><![CDATA[Game Media]]></item>
<!--
below is the find and replace used with textmate
match the key and it's content
-->
<item locID="(.*)">(.*)<\/item>
<!-- replace with matches -->
<item locID="$1"><![CDATA[$2]]></item>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment