Davidyese Posted November 8 Share Posted November 8 Can anyone help me with this : $Var007beta = "Wired 8.10 Beta 5 released" MsgBox(0,'Result', StringRegExpReplace($Var007beta, '(?s).*?Wired ([^ released]+).*$', "$1")) This give result : 8.10 but i need the result to be : 8.10 Beta 5 any help i'll be thankful Link to comment Share on other sites More sharing options...
Developers Jos Posted November 8 Developers Share Posted November 8 Something like this? StringRegExpReplace($Var007beta, '(?s).*?Wired\s+(.*)\s+released.*$', "$1") Davidyese 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Davidyese Posted November 8 Author Share Posted November 8 7 minutes ago, Jos said: Something like this? StringRegExpReplace($Var007beta, '(?s).*?Wired\s+(.*)\s+released.*$', "$1") Thank you my dear, it;s working now 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