for example ( in my text file ):
http://www.xsecurity.ws/modules.php?op=modload & amp ; name=News & amp ; file=article & amp ; sid=1678
i need it like this
http://www.xsecurity.ws/modules.php?op= ... e&sid=1678
Can someone help me ?
Tks

Code: Select all
proc removeamp {string} {
regsub -all "amp;" $string "" string
return $string
}
Code: Select all
proc removeamp {string} {
regsub -all " " $string "" string
regsub -all "amp;" $string "" string
return $string
}