Forum : string
Brief description  about Online courses   join in Online courses
View Karm jeet singh 's Profile

string

Create an string “this is a test”, search for test and replace it with “assignment” using regular expressions.
Asked by Karm jeet singh | Nov 21, 2010 |  Reply now
Replies (1)
View teacher siliconindia 's Profile
HI preg_replace,

By using preg_replace($pattern, $replacement, $string) you can Perform a regular expression search and replacing.
Nov 23, 2010