Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to remove redundant Code quickly by DW

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/02 Report--

DW how to quickly remove redundant code, in view of this problem, this article introduces in detail the corresponding analysis and solutions, hoping to help more partners who want to solve this problem to find a more simple and easy way.

For friends who have just begun to learn website construction, the design and layout of web pages is also a difficult process. Then everyone may have this idea: I see a good website, can I use its web page? The answer is of course yes. But this method is for learning only and should not be used for commercial purposes (infringing on the work of the original author, you know). Two pieces of software are involved here, one is teleport pro, and the other is, of course, DW (full name: dreamweaver). About teleport pro, this is a very easy-to-use whole-site download software, I have been using this! Friends who have used it all know that after downloading, all the hyperlinks are forcibly added with a tppabs= "...". It is conceivable that the code can be replaced one by one, so the author shares a simple method for you. I hope it will be useful to you.

Find and replace function with DW (shortcut key: ctrl+f)

Look for: folder (then select the folder you need to replace)

Search: source code search:

Tppabs= "h [^"] * "

Replace: (empty)

Check: use regular expressions

Just click the replace all button.

Update the method of removing tpa code:

/\ * tpa=.*\ * /

Replace: (empty)

Check: use regular expressions

Click the replace all button

This is the answer to the question about how DW can quickly remove redundant code. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report