Jump to content

Recommended Posts

Posted

Hi all,

I want to grab the first group of numbers in my code :

#NoTrayIcon

$sValue = '/IBM.exe      251467       502820A0347C9CC0E6AD86EC33B6E0FB'
$bValueSIZE =  StringRegExpReplace($sValue, '(?s).*?exe([^\h+\d+]+).*$', "$1")
MsgBox(64, "", $bValueSIZE )

;Request >>> I Want $bValueSIZE = 251467

My request :>>>  I Want $bValueSIZE  =  251467  in my example

so stringbetween exe  and 2nd empty space

Thanks in advance

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...