+ Reply to Thread
Results 1 to 3 of 3

Using RegEx to parse a string

  1. #1
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,165

    Using RegEx to parse a string

    I'm not quite understanding how to remove characters from a string with RegEx.
    I want to remove the "#" sign and the Comma leaving the numeric value in between.

    Sample strings:
    #1,1d6 5.720 Basic
    End result = 1
    #21,1e7 5.610
    End result = 21
    #23.1,1e7 TP_Ø.028_A_B_C
    End result = 23.1
    #113-J1-1,2c3 TP_.014_J_A^Y
    End result = 113-J1-1

    Please Login or Register  to view this content.
    Any assistance is appreciated.
    Regards

    Rick
    Win10, Office 365

  2. #2
    Forum Guru
    Join Date
    08-15-2004
    Location
    Tokyo, Japan
    MS-Off Ver
    2013 O.365
    Posts
    22,538

    Re: Using RegEx to parse a string

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor Rick_Stanich's Avatar
    Join Date
    11-21-2005
    Location
    Ladson SC
    MS-Off Ver
    Office365
    Posts
    1,165

    Re: Using RegEx to parse a string

    Thank you!
    Now back to reading RegEx to see how you structured the pattern.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Regex to Parse Data from Between HTML Source Tags
    By dktexcel in forum Excel Programming / VBA / Macros
    Replies: 14
    Last Post: 01-22-2016, 02:23 PM
  2. [SOLVED] VBA string check without RegEx
    By VBA FTW in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2013, 05:54 PM
  3. Use VBA and REGEX to Parse String
    By JohnM3 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 11-19-2011, 11:38 PM
  4. RegEx to parse string
    By opopanax666 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-04-2011, 09:29 PM
  5. Parse String and Fill list box with Each Found Sub String
    By bdb1974 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2011, 05:56 PM
  6. RegEx to parse something like this...
    By R Avery in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-21-2005, 07:06 PM

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