Open the search/replace dialog (CTRL+F then the replace tab)
Tick “Regular Expression” down the bottom
Use .* as the wildcard
For example, to remove all instances of .COM/jfgf (basically the extra, which is why you want a wildcard to get rid of them).
In the replace dialog:
Find in what: .com/.*
Replace with: .com/