Got more questions? Find advice on: ASP | SQL | XML | Windows
Welcome to RegexAdvice Sign in | Join | Help

Find and replace

  •  06-26-2007, 1:06 PM

    Find and replace

    Hello,

    I am able to find what I want by building my regex. Now I need to replace what matches with something related to it, I want to remove the quotation marks around where there is no space between two quotation marks.

     TEXT:
    <input type="text" name="text_field_21" value="Hello There!" />

     
    so I want to keep value="Hello There!" as is, but change type="text" to type=text.

    I use Dreamweaver or TextPad. Both support fine and replace functionality with regular expression:

    Find: ="[A-z0-9]*" It matches what I need, what should I put in the Replace field to keep what ever the value of the attribute is and just remove the quotations? %1 may , how?

     Thx
     

     

     

     

View Complete Thread