Problems from Regexp Rush, January 2023

These problems are from a contest hosted on January 27, 2023 at 1:00 PM UTC. See details...

A. Three Letter Words
Given a line of text find all the three-letter words.
B. 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 10/11/12
C. Regular Brackets
This problem is matching brackets, but with regular expression. Given a set of parenthesis, if they ...
Regexp Moderate 4/7/11
D. Carrot on a Stick
Given a list of numbers, print only the even numbers.
Regexp Moderate 16/20/55
E. Pairexp
Given two numbers, print the number only if both numbers are the same.
F. 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...
G. Odd Screams
You will be given a string with one or more a’s. You have to write a regular expression that matches...
H. Two Words
Given a line of text (space-separated words), find the first word that appears at least twice in the...
I. 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 7/7/11
Toph uses cookies. By continuing you agree to our Cookie Policy.