w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
How do I use an android regex to match non-numeric characters in a string?

This tries to match your whole input by the pattern. It would only return true if all the characters are non-digits.

You could instead use the pattern "(\d+)" and return !m.matches()





© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.