title: Website url escaping using regex
body: <p>My code is </p>
  
  <pre><code>&lt;?php
  $crunch = "http://thecruncworld.com";
  $something = preg_match'/('/^(([\w]+:)?\/\/)?(((([\d\w]|%[a-xA-x\d]{2,2})/'
  echo $something;
  ?&gt;
  </code></pre>
  
  <p>Here i just need to escape my website url with regex .When i execute this code i am getting an error like this ..</p>
  
  <pre><code>( ! ) Parse error: syntax error, unexpected ''/('' (T_CONSTANT_ENCAPSED_STRING) in C:\wamp\www\yeah.php on line 3
  </code></pre>
  
  <p>Is it possbile on regex ..If its possible please tell me how ..</p>