Carrot on a Stick
Given a list of numbers, print only the even numbers.
Regexp Moderate 10/12/41
Hello Regexp
Write a regular expression that will match texts like “Hello {X}” and only output “{X}” (w/o quotes)...
Regexp Moderate 14/16/19
In Brackets
Given a line of text, you have to extract the bit of text enclosed within a pair of brackets. There ...
Odd Screams
You will be given a string with one or more a’s. You have to write a regular expression that matches...
Regexp Moderate 7/7/14
Pairexp
Given two numbers, print the number only if both numbers are the same.
Regexp Moderate 6/6/16
Regular Brackets
This problem is matching brackets, but with regular expression. Given a set of parenthesis, if they ...
Regexp Moderate 1/4/8
That One
In the input you will have an integer n (where n is 1, 2, or 3) followed by 3 words. You will have t...
Regexp Very Easy 5/7/9
Three Letter Words
Given a line of text find all the three-letter words.
Two Words
Given a line of text (space-separated words), find the first word that appears at least twice in the...
Vowels Bad, Consonants Good
You will be given a line of text. The text will contain space separated words. Identify all the word...
Regexp Moderate 6/6/10
Within the Span
You will be given a snippet of HTML. The HTML will have at most one <span> element. You will have to...
Regexp Moderate 8/9/10
Toph uses cookies. By continuing you agree to our Cookie Policy.