I have a very large OSM file and I would like to know if there is software that can open the OSM file and then when I select a certain area to be able to export it in OSM file again. I found Maperitive and Marble but both of them can't export area in OSM format.
Osmosis can subset by bounding boxes, amongst other capabilities. Its command line though - no visualisation. There are some front ends GUIs, but they tend to be workflow rather than visualising the source data.
For splitting OSM files into different geographical regions there are various tools available, for example osmium, osmosis and osmconvert.
For visualization/rendering you can take a look at the client-side GUI applications, for example Kosmtik and Maperitive.