Regex repeated words | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Regex repeated words

Hello I need a regex to match All repeated words in a String input from user, can someone help me?

30th Nov 2018, 11:39 AM
Diogo
Diogo - avatar
5 Answers
+ 7
Diogo I have a similar task solved, I hope it will be useful! 👍 https://code.sololearn.com/WK7oTmzVOrZK/?ref=app
30th Nov 2018, 9:27 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 6
I will try to write this one,👍 [RegEx:] Java Tutorial https://www.sololearn.com/post/10969/?ref=app Java RegEx Overview - Syntax https://code.sololearn.com/WgjV487TEMRS/?ref=app
30th Nov 2018, 1:56 PM
Danijel Ivanović
Danijel Ivanović - avatar
+ 5
Diogo 👍😉 I'm glad you like it 😊 and if helpful! I hope you've seen a Java solution: DuplicateWords.java 👍
1st Dec 2018, 11:31 AM
Danijel Ivanović
Danijel Ivanović - avatar
+ 3
Thank you so much Danijel you are very helpful!
1st Dec 2018, 9:32 AM
Diogo
Diogo - avatar
+ 1
Hah! I scroll through Q&A posts and happen to find your intiation😂 like found an Easter egg~
30th Nov 2018, 5:37 PM
Gordon
Gordon - avatar