Basically every video editing software should be able to do this. You just need to cut of / out some sections and put then put them together. I think every video editing software will give you this feature. There a ton of them outside. Free and cheap ones, like OpenShot and very expensive ones like Sony Vegas. Steam also offers a lot of different video editing software.
This has to done in two different programs. Video software for the video stuff, OpenFunscripter for the script part. In OFS you can put multiple scripts at once and then just cut the parts you need out of one script and then put it into the other script.