protected function regexPatternForStrip($substring, $limit)
	{
		$pattern = $substring ? Regex::quote($substring) : '\s';
		return  '(?:'.'(?:'.$pattern.')'. ($limit > 0 ? '{1,'.$limit.'}' : '+').')';
	}