Problem numbers correspond with dictionary index
- Determine whether a string is either 0, 100, or 101.
- Determine whether a given string is a binary string (ie. composed only of 0 and 1 characters).
- An integer (sub)string refers to a non-empty (sub)string that will convert to an integer but has no leading 0. Zero is represented as the single digit 0. Given a binary integer string, what regular expression determines whether it is even?
- What is a regular expression to determine (ie. match) those words in a text that have at least two vowels?
- Given a string, determine whether it is an even binary integer string.
- Determine whether a given string is a binary string containing 110 as a substring.
- Match on all strings of length at least two, but at most four.
- Validate a social security number entered into a field (ie. recognize ddd-dd-dddd where the d represents digits and where the dash indicates an arbitrary number of spaces with at most one dash). For example, 542786363, 542 786363, and 542 – 78-6263 are all considered valid.
- Determine a regular expression to help you find the first word of each line of text with a d in it.
- Determine whether a string is a binary string that has the same number of 01 substrings as 10 substrings.
- Match all words that start with P, C, K, or with p, c, k.
- Match on all strings of odd length.
- Match on all odd length binary strings starting with 0, and on even length binary strings starting with 1.
- Match on all binary strings which DON’T contain the substring 110.
- Write a regular expression that will match on an Othello board represented as a string.
- Given an Othello edge as a string of length 8, determine whether there is exactly one hole.
- Given an Othello edge as a string, determine whether there is a hole such that if X plays to the hole, it will be connected to one of the corner through X tokens.
- Match on all non-empty strings over the alphabet {a, b, c} that contain at most one a.
- Match on all non-empty strings over the alphabet {a, b, c} that contain an even number of a's.
- Match on all base 3 integer strings that are even.
- Match on all strings where the same character is repeated 10 times in a row. (8)
- Match on all words where some letter appears twice in the same word. (9)
- Match all words where the same letter appears twice in a row. (10)
- Match all words where some letter appears twice in the same word. (13)
- Match all non-empty binary strings that start and end with the same character. (17)
- Match all 6 letter words containing the substring cat. (19)
- Match on all non-empty binary strings that start and end with the same character using look behind. (19)
- Match on all non-empty binary strings that start and end with the same character using look ahead. (14)
- Match all words that start and end with different vowels. (29)
- Match all binary strings not containing the forbidden substring 011. (14 with neg. look ahead; 10 without)