Try replacing

<input type="text" value="([^"]+)" name="[^"]+" maxlength="[^"]+"
size="[^"]+">

with

\1

Not tested, YMMV, etc.  But if the attributes are always in that order,
it should work.  If they aren't, you can use something more generic to
rip it out, but the more specific you are, the less likely something
will go wrong.

--Ben Doom

Ryan Roskilly wrote:

> yes remove everything but the #qryAll.columname#
>
> so
>
> <tr>
> <td><input type="text" value="#qryAll.csa_subject1" name="csa_subject1"
> maxlength="80" size="15"></td>
> <td><input type="text" value="#qryAll.csa_subject2" name="csa_subject2">
> maxlength="50" size="10"></td>
> </tr>
>
> would look like
>
> <tr>
> <td>#qryAll.csa_subject1#</td>
> <td>#qryAll.csa_subject2#</td>
> </tr>
>
> I use one search and replace for '<input type="text" value="'
> But it's coming up with the name, maxlength, size attributes that i'm having
> a problem with.
>
> -----Original Message-----
> From: Ben Doom [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 15, 2004 12:42 PM
> To: CF-Talk
> Subject: Re: CF5 Studio Search & Replace with RegEx
>
> Exactly what are you trying to do?  Just remove them all?  Or do you
> need to do some funky replace?
>
> I'd be happy to help, if you could be more explicit about the problem.
>
> --Ben Doom
>
> Ryan Roskilly wrote:
>
>  > I'm taking an input form and creating a display page.
>  >
>  > On the input form I have multiple input such as
>  >
>  > <input type="text" value="#qryAll.csa_subject1" name="csa_subject1"
>  > maxlength="80" size="15">
>  > <input type="text" value="#qryAll.csa_subject2" name="csa_subject2"
>  > maxlength="50" size="10">
>  > <input type="text" value="#qryAll.csa_subject3" name="csa_subject3"
>  > maxlength="50" size="15">
>  > <input type="text" value="#qryAll.csa_subject4" name="csa_subject4"
>  > maxlength="23" size="8">
>  >
>  > So when doing the search and replace I first remove all
>  >
>  > <input type="text" value="
>  >
>  > But I cannot get the search and replace RegEx to work for different ["
>  > name="?" maxlength="/" size="?">] instances using the Search and Replace
>  > program in CF Studio 5 utilizing the Regular _expression_ match.
>  >
>  > Any assistance would be greatly appreciated, as I have about 1500 input
> over
>  > 13 forms.
>  >
>  > Thanks,
>  >
>  > - Ryan
>  >
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to