Question: I have this regular expression that extracts meta tags from HTML documents but it gives me errors while I incorporate it in my web application. 

the expression is 

```
@"<meta[\\s]+[^>]*?name[\\s]?=[\\s\"\']+(.*?)[\\s\"\']+content[\\s]?=[\\s\"\']+(.*?)[\"\']+.*?>" ;

```

is there anything wrong with it?

Answer: 
When using a string literal (@"") you don't need to double the back-slashes -- everything in the string is accepted as it is -- except for double quotes, which need to be doubled:

`@"<meta[\s]+[^>]*?name[\s]?=[\s""']+(.*?)[\s""']+content[\s]?=[\s""']+(.*?)[""']+.*?>"`
Jeromy is right. You're using an escaped string and a string litteral. The regex itself is fine... So I guess that's where the problem is.