If else minifier
<p>I have many lines of code like this.. this is just a 1 thing i am trying right now.</p>

<pre><code>if (RI2.Text.Contains("SOS") || RI2.Text.Contains("WAR"))
{
     Response.Redirect("http://mydomain.com/rabat");
}
if (RI2.Text.Contains("sos") || RI2.Text.Contains("war"))
{
     Response.Redirect("http://mydomain.com/rabat");
}
</code></pre>

<p>How do i minify this code. i mean, its very ugly and there many lines of code similar to this.</p>

<p>is there any better way of doing this which i dont know.</p>

<p>please help. appreciate your time and help.</p>
