PDA

View Full Version : Delete a single line sitewide with different content


allanforbes
02-28-2011, 11:43 AM
Hi
I am trying to delete a specific line of code (say line 50) sitewide in dreamweaver - but the content on each line 50 has different links - so cannot just use find and replace - any suggestions would be gratefully received

gentleone
02-28-2011, 12:36 PM
It should be possible if you use Find & Replace with regular expressions inputs.

http://www.askapache.com/tools/regular-expressions-in-dreamweaver.html

http://www.examiner.com/open-source-in-national/advanced-search-and-replace-dreamweaver-vim-sed-and-bbedit-using-regular-expressions

http://somerandomdude.com/articles/technology/dreamweaver-regular-expressions/

davidj
03-01-2011, 02:44 PM
Yes. Regex is the way to go

allanforbes
03-01-2011, 10:26 PM
Problem solved by using Find and Replace Search: using Specific Tag option

Thanks