Results 1 to 6 of 6

Remove text between quotes, variable length and number of quotes

Threaded View

  1. #1
    Forum Contributor JP Romano's Avatar
    Join Date
    10-09-2008
    Location
    Princeton, NJ
    MS-Off Ver
    2010
    Posts
    500

    Remove text between quotes, variable length and number of quotes

    Hi all... I'm attempting to clean up some rather ugly strings, and would like to automate a process to clear out all the data with the exception of what's between quotations.

    The strings are variable length, and could have anywhere from 0 to 6 sets of quotations.

    For example

    From this
    aliasid:6558 enabled:0 yk:2 aclass:1 ticker:"SHE US" aliastext:"SHENGKAI" strength:1003 chgid:1826630 usage:2
    I want to be left with
    SHE US SHENGKAI
    Because this will sit in the middle of a larger macro, I'd much prefer to do this with vba code than a formula, but if the formula is the way to go, I can work with it.

    Thank you so much for any help!
    Last edited by JP Romano; 10-14-2011 at 09:51 AM. Reason: Resolved

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