replace in string
Posted: Mon Jun 12, 2006 10:11 am
hi
i want to replace all characters in a string which are not letters,numbers or a dot with a underscore
for example
http://www.mydomain.com/index.php?st=1
would be converted to
http_www.mydomain.com_index.php_st_1
i want to replace all characters in a string which are not letters,numbers or a dot with a underscore
for example
http://www.mydomain.com/index.php?st=1
would be converted to
http_www.mydomain.com_index.php_st_1