Question: I wanna get from a page 2 values - lat and long. The source code contains this piece of JS:

```
new GLatLng(53.299671, -6.267786)

```

Can anyone suggest me the best method/regex?

Answer: 
Smarx just made a blog post about this a couple of minutes again ;)

<http://blog.smarx.com/posts/redirecting-to-https-in-windows-azure-two-methods>

In case the site goes down here is a summary:

**IIS URL Rewrite**

If you’re not using ASP.NET MVC but are using IIS (as in a web role), you can use the [URL Rewrite module](http://www.iis.net/download/URLRewrite), which is installed by default. Using this module to redirect to HTTPS is fairly trivial and documented elsewhere, but getting everything to work properly in the local compute emulator is non-trivial. In particular, most examples you’ll find assume that HTTP traffic will always be on port 80, which isn’t always the case when testing under the compute emulator. Here’s a rule that seems to work locally and in the cloud:

```
<system.webServer>
  <rewrite>
    <rules>
      <rule name="Redirect to HTTPS">
        <match url="(.*)" />
        <conditions>
          <add input="{HTTPS}" pattern="off" ignoreCase="true" />
          <add input="{URL}" pattern="/$" negate="true" />
          <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
        </conditions>
        <action type="Redirect" url="https://{SERVER_NAME}/{R:1}" redirectType="SeeOther" />
      </rule>
    </rules>
  </rewrite>

```
Just adding to Kevin Cloet's answer to Smarx's blog. To set RequireHttps attribute only in Release mode,
you can use HttpContext.Current.IsDebuggingEnabled

```
    public static void RegisterGlobalFilters(GlobalFilterCollection filters) {

        if (!HttpContext.Current.IsDebuggingEnabled) {
            filters.Add(new RequireHttpsAttribute());
        }
    }

```

Please refer to this link:
<https://stackoverflow.com/a/27324439/1933168>