+ Reply to Thread
Results 1 to 6 of 6

Wildcard Find and Replace

  1. #1
    Registered User
    Join Date
    03-17-2008
    Location
    UK
    MS-Off Ver
    365 online
    Posts
    20

    Wildcard Find and Replace

    I want to Find and Replace some text in a cell. The contents will look something like this:

    http://www.mysite.com/index.php?vari...&variable2=abc

    I only want to remove the &variable2=abc, where the abc will be changing all the time.

    Tricky? Or possible?

    Thanks,

    Jon

  2. #2
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Wildcard Find and Replace

    as shown just use find &var*
    replace with nothing

  3. #3
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Wildcard Find and Replace

    Broken link.

    Please post here instead of on a file sharing site.
    Entia non sunt multiplicanda sine necessitate

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Wildcard Find and Replace

    shg, I think the link is the example...

    Questions:

    -- are you always replacing the same variable (variable2) ?

    -- is the variable consistently placed in the same part of the URL ?

    -- is the value associated with the variable of a consistent length ?

  5. #5
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Wildcard Find and Replace

    shg, I think the link is the example...
    ..... Doh!

  6. #6
    Registered User
    Join Date
    03-17-2008
    Location
    UK
    MS-Off Ver
    365 online
    Posts
    20

    Re: Wildcard Find and Replace

    Thanks guys!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1