gcue Posted December 17, 2008 Share Posted December 17, 2008 trying to get the value from this line UserNumber=733498 with this $array = StringRegExp($string, "(?:UserNumber=.)(.*)\r\n", 3) but only get the numbers after the 7... Link to comment Share on other sites More sharing options...
weaponx Posted December 17, 2008 Share Posted December 17, 2008 The dot in your first group is matching the first digit and discarding it. Link to comment Share on other sites More sharing options...
gcue Posted December 17, 2008 Author Share Posted December 17, 2008 brilliant! thanks =) Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now