Regex

  • Thread starter Thread starter Shabam
  • Start date Start date
S

Shabam

Can someone give me a quick summary of what this does?

static $S = array('/javascript:/si', '/about:/si', '/vbscript:/si',
'/&(?![a-z0-9#]+;)/si');
static $R = array('javascript:', 'about:', 'vbscript:', '&');
$C = preg_replace($S, $R, $C);

What does "/si" look for?
 
Back
Top