Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

regular expression

Status
Not open for further replies.
Code:
var port = 20001;
var origin = "[URL unfurl="true"]https://localhost/Sm.Services/BatchService.svc/invoke"[/URL]
url = origin.replace("[URL unfurl="true"]https://",[/URL] "[URL unfurl="true"]http://").replace("localhost",[/URL] string.format("localhost:{0}", port));


Jason Meckley
Programmer

faq855-7190
faq732-7259
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top