Thursday

flex replace all string

here is example of code how to use flex replace function in order to get all replacements:

var str:String = "test xxx test yyy";
str.replace(/test/g, "WOW");
// str is now "WOW xxx WOW yyy"

No comments:

test smtp server with powershell

Send-MailMessage -SMTPServer smtp.domain.com -To [email protected] -From [email protected] -Subject "This is a test email" -Body ...