Results 1 to 2 of 2

Thread: Regular expression problem..

  1. #1

    Join Date
    Oct 2003
    Location
    uk
    Posts
    227
    Rep Power
    0

    Regular expression problem..

    I want to use regular expressions in Dreamweaver Cs3 to add both a prefix and suffix to each line of HTML code..

    for instance..

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

    would become

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

    by adding a " as a prefix and " & _ as a suffix.

    how can I do this please?

  2. #2
    Rubber Duck It pureconcepts's Avatar
    Join Date
    Feb 2005
    Location
    US
    Posts
    442
    Rep Power
    13
    If you are just adding a prefix and suffix to <table cellpadding=0 cellspacing=0 align=left> why not just use find and replace.

    Otherwise are you looking to wrap all table tags with a prefix and suffix? Please provide more detail.
    http://jason.pureconcepts.net - Personal Articles, Projects, and more...
    http://pureconcepts.net - Need more help, contract me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •