|
Previous Page |
Solar_Filter_SanitizePregReplace |
Next Class |
sanitizePregReplace()
public
string
sanitizePregReplace (
mixed $value,
string $pattern,
string $replace
)
Applies preg_replace() to the value.
Parameters
- (mixed)
$value: The value to be sanitized. - (string)
$pattern: The regex pattern to apply. - (string)
$replace: Replace the found pattern with this string.
Returns
- (string) The sanitized value.
Description
Applies preg_replace() to the value.