Two Words Given a line of text (space-separated words), find the first word that appears at least twice in the... |
Regular Brackets This problem is matching brackets, but with regular expression. Given a set of parenthesis, if they ... |
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... |
Vowels Bad, Consonants Good You will be given a line of text. The text will contain space separated words. Identify all the word... |
Pairexp Given two numbers, print the number only if both numbers are the same. |
Three Letter Words Given a line of text find all the three-letter words. |
Within the Span You will be given a snippet of HTML. The HTML will have at most one <span> element. You will have to... |
Odd Screams You will be given a string with one or more a’s. You have to write a regular expression that matches... |
In Brackets Given a line of text, you have to extract the bit of text enclosed within a pair of brackets. There ... |
Hello Regexp Write a regular expression that will match texts like “Hello {X}” and only output “{X}” (w/o quotes)... |
Carrot on a Stick Given a list of numbers, print only the even numbers. |