Name

ereg_replace

Synopsis

string ereg_replace(string pattern,string replace, string string)

Searches for all occurrences of the regular expression pattern in string, replaces them with replace, and returns the result.

Get Programming PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.