SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Ankit Chandrawat wrote:I want to replace all the strings that occurs multiple times(more than once).For example:
i i am am am am here
should be rendered as i am here...
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here
I need to search a string if it has a word repeated thrice consecutively
I want to replace all the strings that occurs multiple times(more than once)
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6 - OCEJPAD 6
How To Ask Questions How To Answer Questions
Ankit Chandrawat wrote:Ya Harsha, this one worked really well. Thanks a lot.
"Leadership is nature's way of removing morons from the productive flow" - Dogbert
Articles by Winston can be found here