Results 1 to 2 of 2

Thread: [RESOLVED] Simple vbs regex q

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2017
    Posts
    2

    Resolved [RESOLVED] Simple vbs regex q

    Hi, new to vbs scripting -- can anyone pleaes let me know how to get the "34" from this string? The numbers will change but the text will always be the same.

    Showing 1 to 10 of 34 entries (filtered from 432 total entries)

    I assume could just get the characters that are between the 5th blank space and the 6th blank space.

  2. #2

    Thread Starter
    New Member
    Join Date
    Nov 2017
    Posts
    2

    Re: [RESOLVED] Simple vbs regex q

    Nevermind

    Code:
    Dim string
    Dim Output
    string = "Showing 1 to 10 of 34 entries (filtered from 432 total entries) "
    Output = "Output is: " & trim(split(string, " ")(5))
    msgbox(Output)

Posting Permissions

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



Click Here to Expand Forum to Full Width