Kata Library: Ruby Practice
Sign Up
Time to claim your honor
Training
Practice
Complete challenging
Kata
to earn honor and ranks. Re-train to hone technique
Freestyle Sparring
Take turns remixing and refactoring others code through
Kumite
Community
Leaderboards
Achieve honor and move up the global leaderboards
Chat
Join our
Discord
server and chat with your fellow code warriors
Discussions
View our
Github Discussions
board to discuss general Codewars topics
About
Docs
Learn about all of the different aspects of Codewars
Blog
Read the latest news from Codewars and the community
Log In
Sign Up
Library
Collections
Newest
Oldest
Popularity
Positive Feedback
Most Completed
Least Completed
Hardest
Easiest
Name
Relevance
Low Satisfaction
All
My Languages
Agda (Beta)
BF (Beta)
C
CFML (Beta)
Clojure
COBOL (Beta)
CoffeeScript
CommonLisp (Beta)
Coq
C++
Crystal
C#
D (Beta)
Dart
Elixir
Elm (Beta)
Erlang (Beta)
Factor (Beta)
Forth (Beta)
Fortran (Beta)
F#
Go
Groovy
Haskell
Haxe (Beta)
Idris (Beta)
Java
JavaScript
Julia (Beta)
Kotlin
λ Calculus (Beta)
Lean
Lua
NASM
Nim (Beta)
Objective-C (Beta)
OCaml (Beta)
Pascal (Beta)
Perl (Beta)
PHP
PowerShell (Beta)
Prolog (Beta)
PureScript (Beta)
Python
R (Beta)
Racket
Raku (Beta)
Reason (Beta)
RISC-V (Beta)
Ruby
Rust
Scala
Shell
Solidity (Beta)
SQL
Swift
TypeScript
VB (Beta)
Approved & Beta
Approved
Beta
All
Kata I have not trained on
Kata I have not completed
Kata I have completed
8 kyu
easiest
7 kyu
6 kyu
5 kyu
4 kyu
3 kyu
2 kyu
1 kyu
hardest
Algorithms
53
Arrays
18
Binary
1
Bits
1
Ciphers
2
Cryptography
1
Data Science
1
Data Structures
9
Date Time
3
Debugging
2
Domain Specific Languages
1
Filtering
1
Functional Programming
4
Fundamentals
123
Games
2
Logic
1
Mathematics
3
MongoDB
1
Number Theory
1
Parsing
12
Puzzles
8
Regular Expressions
178
Security
2
Strings
108
FEATURED TAGS
Cryptography
Data Science
Debugging
Games
Tutorials
178 Kata Found
6 kyu
Valid Phone Number
20,973
xDranik
2 Issues Reported
Regular Expressions
Algorithms
6 kyu
Split Strings
167,100
jhoffner
Regular Expressions
Strings
Algorithms
5 kyu
ISBN-10 Validation
11,404
nklein
4 Issues Reported
Regular Expressions
Algorithms
6 kyu
FIRE and FURY
1,320
dinglemouse
1 Issue Reported
Regular Expressions
Strings
Algorithms
7 kyu
Help Mr. E
961
methree
1 Issue Reported
Strings
Fundamentals
Regular Expressions
5 kyu
Return substring instance count - 2
3,178
ineiti
2 Issues Reported
Strings
Regular Expressions
Algorithms
5 kyu
Alphabet wars - nuclear strike
1,736
dcieslak
Strings
Regular Expressions
Fundamentals
7 kyu
Hashtaggery
837
Lordnibbler
Regular Expressions
Fundamentals
Strings
Parsing
7 kyu
Password validator
8,202
tdowek1
1 Issue Reported
Fundamentals
Regular Expressions
Algorithms
6 kyu
DevOps legacy roasting -> disco inferno -> burn baby burn
293
user8476848
2 Issues Reported
Regular Expressions
Strings
Fundamentals
7 kyu
80's Kids #5: You Can't Do That on Television
1,690
NateBrady23
1 Issue Reported
Fundamentals
Algorithms
Strings
Regular Expressions
7 kyu
Coding Meetup #3 - Higher-Order Functions Series - Is Ruby coming?
10,975
PiotrBerebecki
Data Structures
Fundamentals
Algorithms
Strings
Regular Expressions
Arrays
Functional Programming
7 kyu
Simple Fun #320: Scratch lottery I
1,343
myjinxin2015
Puzzles
Regular Expressions
7 kyu
regex validation of 24 hours time.
1,901
daymos
5 Issues Reported
Regular Expressions
Date Time
Fundamentals
6 kyu
regex pattern to check if string has all characters
915
albertogcmr
1 Issue Reported
Regular Expressions
Fundamentals
Strings
6 kyu
Regexp basics - parsing time
1,002
taw
2 Issues Reported
Regular Expressions
Fundamentals
7 kyu
Regexp basics - parsing prices
1,737
taw
Regular Expressions
Fundamentals
6 kyu
Regexp basics - parsing mana cost
446
taw
1 Issue Reported
Regular Expressions
Fundamentals
7 kyu
Regexp Basics - is it all whitespace?
1,673
taw
Regular Expressions
Fundamentals
7 kyu
Regexp Basics - is it a vowel?
9,623
taw
2 Issues Reported
Regular Expressions
Fundamentals
7 kyu
Regexp Basics - is it a six bit unsigned number?
1,470
taw
Regular Expressions
Fundamentals
7 kyu
Regexp Basics - is it a letter?
8,527
taw
2 Issues Reported
Regular Expressions
Fundamentals
7 kyu
Regexp Basics - is it a hexadecimal number?
1,181
taw
3 Issues Reported
Regular Expressions
Fundamentals
7 kyu
Regexp Basics - is it a eight bit unsigned number?
1,581
taw
2 Issues Reported
Regular Expressions
Fundamentals
7 kyu
Regexp Basics - is it a eight bit signed number?
1,010
taw
3 Issues Reported
Bits
Binary
Strings
Regular Expressions
Fundamentals
8 kyu
Regexp Basics - is it a digit?
18,175
taw
6 Issues Reported
Regular Expressions
Fundamentals
6 kyu
Regexp Basics - is it IPv4 address?
2,886
taw
1 Issue Reported
Regular Expressions
Fundamentals
7 kyu
UVB-76 Message Validator
1,116
Drymonade
Algorithms
Strings
Regular Expressions
7 kyu
Unix command line `ls -l` extract the file type.
815
nbeck
2 Issues Reported
Strings
Regular Expressions
Fundamentals
6 kyu
Linux history and `!` command. Series#5 The `!?string` command
299
nbeck
1 Issue Reported
Strings
Parsing
Regular Expressions
Algorithms
Loading...
Confirm
Collect:
undefined
Loading collection data...