Played Challenges
Search and Replace 0 - 5031 entries
Replace every instance of 'aaa' with 'xaaax'.
- Best score: 12
- Best player score: 12
- Position: #173 / 1638
- Number of attempts: 6
Changing URL path in CSS - 143 entries
What's the quickest way to swap out all the URLs in a CSS file? Is it wasted keystrokes using look-behinds and look-aheads? (I'm sorry for the delete/report--I made a mistake with the last one requiring an ugly search for graphic to replace with images. I just intended this to be a simple search and replace that might possibly generate some macros or normals solutions that are quicker)
- Best score: 40
- Best player score: 56
- Position: #53 / 64
- Number of attempts: 1
remove dupes from array - 1360 entries
given a random string that contains a ruby-esque array, make sure that there are no duplicate elements
- Best score: 17
- Best player score: 28
- Position: #291 / 337
- Number of attempts: 2
Reformat/Refactor a Golfer Class - 7415 entries
A simple case of removing unneeded code and fixing broken indentation.
- Best score: 7
- Best player score: 41
- Position: #910 / 1825
- Number of attempts: 4
VimGolf