Anonymous user
Regular expressions: Difference between revisions
m
→{{header|PHP}}: lang tag
m (→{{header|OCaml}}: lang tag) |
m (→{{header|PHP}}: lang tag) |
||
Line 396:
=={{header|PHP}}==
{{works with|PHP|5.2.0}}
Test
{
echo "Ends with 'string'\n";
}</lang>
Replace
echo "Found 'a' and replace it with 'another', resulting in this string: $string\n";</lang>
=={{header|Python}}==
|