Wednesday, October 16, 2013

How to valid email address by regular expression in C#

return System.Text.RegularExpressions.Regex.IsMatch(email, @"^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$"); 

How to copy a report in SQL Server Reporting Services from one folder to another?

1. Download to local
2. Upload to another folder