prefix and suffix every line using Dreamweaver regular expressions

Posted on 2008-11-17
Last Modified: 2013-11-25
I have a large Html document which I need to amend to make it suitable for insertion into a VBA script.

I need to preface each line with a ' " ' and end each line with ' " & _ ' (my single quotes - not needed).

For instance

<table cellpadding=0 cellspacing=0 align=left>

should become

"<table cellpadding=0 cellspacing=0 align=left>" & _

How can I do this using a regular expression??
Question by:chrisfixit
    1 Comment
    LVL 1

    Accepted Solution

    Answered elsewhere please close

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
    Recently Microsoft released a brand new function called CONCAT. It's supposed to replace its predecessor CONCATENATE. But how does it work? And what's new? In this article, we take a closer look at all of this - we even included an exercise file for…
    The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
    Learn how to make your own table of contents in Microsoft Word using paragraph styles and the automatic table of contents tool. We'll be using the paragraph styles in Word’s Home toolbar to help you create a table of contents. Type out your initial …

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now