Loading ...
Sorry, an error occurred while loading the content.

4674Re: [edit+] Search and replace with match

Expand Messages
  • dz@caribe.net
    Jun 13, 2006
      [0-9][0-9]* is the same as [0-9]+

      -dZ.

      ----- Original Message -----
      From: Getafixx
      Sent: 6/13/2006 12:20:02 PM
      To: editplus@yahoogroups.com
      Subject: Re: [edit+] Search and replace with match

      > Search for rad([0-9][0-9]*)
      > replace with question\1
      >
      > Justin
      > --
      > Justin / Getafixx
      > Download Getafixx's latest ambient electronic mix - Ideomotor Action
      >
      > http://getafixx.com/music/mixes/ideomotor_action/
      >
      > http://getafixx.com - aural bliss
      > http://getafixxhosting.com for really cheap web hosting
      >
      > ssalter2006 wrote:
      > > I've got groups of radio buttons named like this:
      > >
      > > <td><input type=radio name=rad1 value=4></td>
      > > <td><input type=radio name=rad1 value=3></td>
      > > <td><input type=radio name=rad1 value=2></td>
      > > <td><input type=radio name=rad1 value=1></td>
      > >
      > > Goes from rad1 to rad45 groups.
      > >
      > > and I'd like to change the "rad" to "Question" but keep the number, ie:
      > > rad1 group turns into Question1 group.
      > >
      > > I can match the "rad" with this: name=rad*[0-9] but how do I do a
      > > replace that keeps the radio button group number?
      > >
      > > Thanks.
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > > http://www.editplus.com
      > > Yahoo! Groups Links
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > >
      > > .
      > >
      >
      >
      >
      >
      >
      > http://www.editplus.com
      > Yahoo! Groups Links
      >
      >
      >
      >
      >
      >
      >
      >
    • Show all 4 messages in this topic