I try to uppercase my "error(s)*" in this regex:
<strong> Errors </strong>Ho got I have an error.
well my pattern is:
#<strong>(\s)*Error[s]?(\s)*<\/strong>#i
full function:
$returnValue = preg_replace('#<strong>(\s)*Error[s]?(\s)*<\/strong>#i', strtoupper({$0}), '<strong> Errors </strong>Ho got I have an error.', -1, $count);
I tried with $0,$1,$2
but I cant isolate my "error[s]?