Java tutorial
//package com.java2s; public class Main { private static String ignoreBassNote(String name) { return name.replaceAll("\\/.*$", ""); } }