java - Display characters other than alphabets using regular expression -


मुझे यह कार्यप्रणाली सर्वर कोड में java.util.regex.Pattern का उपयोग करना है और java.util.regex.Matcher

  "cdAbb # 2547dbsbz78678" .मेल (/ [^ a-zA-Z] + / g) .join (' ');    

आपको पैटर्न बस सरल की आवश्यकता नहीं है प्रतिलिपि सभी चाल करेंगे,

  स्ट्रिंग s = "cdAbb # 2547dbsbz78678" .replaceAll ("[a-zA-Z]", "");    

Comments

Popular posts from this blog

How can I add a seperate action listener to all 14 of my buttons at once that can determine player turn?(java) -

Simple file compression in C -

php - Sorting an multidimension array using usort fails -