<?php
$re = "/(?# df /df)s/x";
$text = "sdf'/sdf/fg/";
preg_match_all( $re, $text, $arr );
var_dump( $arr );