I don't want to sound too negative, but I'd suggest to read up on some tutorials about scripting actually....
search
google for JScript tutorials which explain basic scripting...
And a JScript help file can be found
here which explains all the functions, methods and properties, etc in details.
(especially look up how regular expressions work and what the correct syntaxis are, as the ones you posted don't make any sense; and it is way too much to explain everything; especially if everything can already be read on the web and in the help file)
For info regarding Plus! functions and methods, see
here.