At work I have to repeat this same process multiple times:
- Open a certain Dreamweaver file.
- Look for all
<p>tags and replace then with<h1>tags. - Look for all
</p>and replace with</h1>. - Look for the string
'Welcome'and replace with'goodbye'. - Look for
'0:01:00'and replace with'01:00'. - Copy everything in that file.
- Create a new Dreamweaver file and paste everything in the new file.
- Save the new file in a given directory and call it a certain name, which can be provided as a variable.
I don't need to run the JavaScript from a browser. It can be a JavaScript file which I just double click on the desktop.
Is it possible for me to do this with JavaScript / jQuery?