title: English Language Regex in C#
body: <p>I need a regex pattern which can detect if the given text is in English or not, but I want to include the following:</p>
  <ul>
  <li>Allowing spaces</li>
  <li>Allowing numbers and words</li>
  <li>Allowing multiple lines and tabs</li>
  <li>Allowing all special characters !@#$%^&amp;*()_-+={}|/&lt;&gt;~`':&quot;;[]</li>
  <li>Allowing URLs, emails</li>
  <li>If the given text contains any character rather than English, it should be considered a non-English text, this should be applied if the text contains Arabic letters/words like &quot;ا ب ت ... etc.&quot; and the same for French &quot;é, â ... etc.&quot; and also all of the other languages</li>
  </ul>
  <p>In brief, I need to know if the given text, any text with any format, is in English or not. I tried a lot of patterns but I didn't get it, and actually, I don't need to use any language detector as the application will be used offline.</p>
  <p>Samples of the texts which should not be accepted:</p>
  <blockquote>
  <p>Hello! ... é</p>
  <p>مرحبا بك</p>
  <p>للتحميل اضغط هنا ... <a href="http://www.google.com" rel="nofollow noreferrer">http://www.google.com</a></p>
  </blockquote>
  <p>So, if the text contains non-English letter, it should be considered non-English text.</p>