Monday, 19 August 2013

Replace REGEX variable with htmlentities?

Replace REGEX variable with htmlentities?

I have the following bit of code as the replacement in preg_replace
"$2"
Is there a way to wrap htmlentities() around $2?

No comments:

Post a Comment