#2401- preg_replace returns empty string
Merge pull request #2402 from pods-framework/bugfix/#2401-preg_replace

#2401- preg_replace returns empty string
close #2401