

Task

   match a string against a regular expression
   substitute part of a string using a regular expression


MsgBox % foundpos := RegExMatch("Hello World", "World$")  
MsgBox % replaced := RegExReplace("Hello World", "World$", "yourself")