0

How to replace a value or string with another string or value in java using regex? Condition : it should replace only that lengt

ex. Val is 00000000 and my replace value is 234 and my expected output is 23400000.it should replace first 3 only

17th Jan 2020, 3:29 PM
akila banu
akila banu - avatar
2 Respuestas
+ 1
This article is perfect for you. Check the \d part, which talks about digits 0 to 9.
18th Jan 2020, 1:32 AM
Fernando Pozzetti
Fernando Pozzetti - avatar
18th Jan 2020, 5:50 AM
Fernando Pozzetti
Fernando Pozzetti - avatar