Java String Clean cleanText(String s)

Here you can find the source of cleanText(String s)

Description

clean Text

License

Open Source License

Declaration

public static String cleanText(String s) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static String cleanText(String s) {
        return s.replaceAll("\\W", "");
    }/* w w  w . ja  v a 2  s. com*/
}

Related

  1. cleanStringForFilePath(final String dirty)
  2. cleanStringForJavaName(String original)
  3. cleanStringFromWhitespaces(String text)
  4. cleanText(final String input)
  5. cleanText(String s)
  6. cleanText(String t)
  7. cleanText(String text)
  8. cleanText(String text)
  9. cleanText(String text)