Results 1 to 3 of 3
  1. #1
    Lounger
    Join Date
    Oct 2004
    Location
    Indianapolis, Indiana, USA
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Wildcard searches with @ (2003)

    How do I search for the @ character when I'm, using wildcards? (Or, how do I do the following without using wildcards?)

    I need to find all the instances of a number followed by @@bf and replace it with the same number followed by a hyphen. Using wildcards, I tried this first:

    Find: ([1-9])(@@bf)
    Replace: /1-

    Of course, that didn't work because @ itself is a special wildcard character. So I tried this:

    Find: ([1-9])([@]{2}bf)
    Replace: /1-

    That didn't work, either. The permutations seem endless, and I'm sure the answer is simple and ready to bite me in the patootie. Any help is appreciated, especially if you can do it before I pull out any hair.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Wildcard searches with @ (2003)

    Use @ to search for the @ character in a wildcard search. Similarly, you can use * to search for an asterisk as a character.

  3. #3
    Lounger
    Join Date
    Oct 2004
    Location
    Indianapolis, Indiana, USA
    Posts
    45
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Wildcard searches with @ (2003)

    Thanks. I had tried the regular forward slash, but forgot about the backslash.

Posting Permissions

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