Adding support for delimiters other than '/' for search and replace