Remove Tag Contents In Dreamweaver?
i have xml file has 40 lines of code. of tags have content inside , empty. want create xml template out of file future use can insert desired text empty fields.
i need command in dreamweaver can use line line remove content inside each set of tags, leaving tags intact (so can insert text in future).
what command in dreamweaver cs4 clear these fields while preserving tags themselves?
without seeing example of xml file plan use, it's difficult sure. however, believe following should work:
in find , replace, use following settings:
find in: current document
search: source code
find:
(<[^?>]+>)[^<]*(</[^>]+>)
replace:
$1$2
make sure "use regular expression" checkbox selected.
you can save query reuse clicking floppy disk icon @ top right of find , replace dialog box.
More discussions in Dreamweaver support forum
adobe
Comments
Post a Comment