0

I have to match some string against "Phone_123":"" where any number instead of 123 is acceptable. I am using regex

\\\"Phone_[0-9]+\\\":\\\"\\\"

and it matches the string (in the yellow rectangle)

AS_2.3.3 when I try it in Android Studio 2.3.3. But when I try the same regex against the same string under debug it doesn't match! What is the problem with my regex?

isabsent
  • 3,683
  • 3
  • 25
  • 46

0 Answers0