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

c# - passing input text from view to contoller with FacebookContext using Facebook app -

ios - Does Core Data autoupdate a many to many relationship on saving -

Calling a C++ function from C# by passing a string with variable size to it -