Davidyese Posted November 8, 2024 Posted November 8, 2024 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
Developers Jos Posted November 8, 2024 Developers Posted November 8, 2024 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.
Davidyese Posted November 8, 2024 Author Posted November 8, 2024 7 minutes ago, Jos said: Something like this? StringRegExpReplace($Var007beta, '(?s).*?Wired\s+(.*)\s+released.*$', "$1") Thank you my dear, it;s working now
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