Community Spring Cleaning week is here! Join your fellow Maveryx in digging through your old posts and marking comments on them as solved. Learn more here!

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #130: Is There an Echo in Here?

MattKing
8 - Asteroid
Spoiler
image.png

I am no expert just yet, I used multiple tools to identify the duplicate words, and then output phrase without the duplicate.

I will now to see other people solution for that tool that does this.

 

 

danilang
19 - Altair
19 - Altair

@clant

 

Here's a couple of interactive sites to help you learn

 

https://regex101.com/

https://regexr.com/

 

Both of them allow you to build and test your regex against strings that you input.  They also try to explain what your expression is doing and what its parts are.

 

Dan

 

daltonclouse
5 - Atom

Finally got it with one tool.

Spoiler
Will have to apply more regex in my future workflows.
cbrettlockard
7 - Meteor

This is most certainly not the best way to do this, but it gets the job done.  Sort of, anyway.  I made it work regardless of capitalization, but I don't think it would work if one of the repeated words was followed by punctuation.

 

Spoiler
WC130.PNG

Now that I've posted my solution, I've definitely got to go check out how an advanced user did it in one tool.  (I'm guessing it's a really complicated regex, and that's definitely not my strong suit.)

clant
8 - Asteroid

@danilang thank you for the links, I have looked at regex101 and its already helped me fix one of the problems i was having!

 

cheers

 

chris

 

jzondervan
7 - Meteor

Not too dificult, but fun for a Friday!

Prab
7 - Meteor

Needed some help for the elegant solve.

 

Solutions attached.

 

Spoiler
Capture_1101.PNG
simons
6 - Meteoroid
Spoiler
Capture.PNG
estherb47
15 - Aurora
15 - Aurora

And with this one, @JoeM, pretty sure I am finally caught up to the challenges. Love learning new things about RegEx!

Spoiler
image.png
Ivana
5 - Atom

Nice challenge!