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
2 Answers
+ 1
This article is perfect for you.
Check the \d part, which talks about digits 0 to 9.