Change text based on URL
<p>I'm looking to write some C# that will detect a piece of a URL and change some text based on the URL found on Page Load.</p>

<p>Essentially, I want this to happen:</p>

<ol>
<li>URL is detected as ending with ".us || .com" OR ".ca"</li>
<li>Change the text of an <code>&lt;h1&gt;</code> to say "United States" or "Canada" based on the URL found.</li>
</ol>

<p>My C# experience with this sort of code is almost 0, so I don't have any code to show, because I don't know where to start. Can anyone help me get in the right direction?</p>
