Java tutorial
//package com.java2s; //License from project: LGPL import java.util.regex.Pattern; public class Main { public static String[] versionSplitting(String version, String regexVersionDelimiters) { Pattern pattern = Pattern.compile(regexVersionDelimiters); return pattern.split(version); } }