package org.schabi.newpipe.extractor.utils; public class Utils { private Utils() { //no instance } /** * Remove all non-digit characters from a string.

* Examples:
*

* * @param toRemove string to remove non-digit chars * @return a string that contains only digits */ public static String removeNonDigitCharacters(String toRemove) { return toRemove.replaceAll("\\D+", ""); } }