str_replace function in twig code example Example: string replace twig {{description|replace({"\'": "'"})|raw }}