NAME

Question types


Start with


Question limit

of 50 available terms

Print test

50 Multiple choice questions

  1. ??
  2. [0-9] [a-z] [A-Z] [0-9a-z]
  3. Uppercase Letters
  4. ?= Example: =~/one (?=two)/
  5. Match Any Character
  6. \G
  7. =~ s/old/new/g (The g at the end is for all instances)
  8. split / /,$colors ($colors="r g b"; @colors=split...)
  9. /h[aiou]t/ hat, hit, hot, or hut
  10. Lowercase Letters
  11. m
  12. [0-9] and [^0-9]
  13. =~ /(?i)searchterm/ (Same as /searchterm/i)
  14. [0-9A-Za-z_] and [^0-9A-Za-z]
  15. =~ tr/abc/xyz/; Replaces all 'a' with 'x', all 'b' with 'y', etc.
  16. {,} /\w{5}/ - Five letter word, {4,} 4 or more {3,7} 3-7 instances
  17. Digits 0 to 9
  18. ?<
  19. ? - "this and thus" /th.?s/ matches "this" /th.*s/ would match "this and thus" (to the last 's')
  20. ? /g?reed/ - Search for greed or reed (? is after)
  21. Outside Regex :$1, $2, etc. - In Regex: \1 and \2
  22. Alphabetic Characters
  23. /trees/ - Searches for tree, trees, or treess ...
  24. /search term/
  25. =~ s/old/new/; (Replaces old with new; first instance only)
  26. =~ /searchterm(?#Comment)/
  27. ?!
  28. ?: - /(?:abc)?.*(def)/ - $1 will be the result from (def) not (abc)
  29. join " ",@colors (@colors="red green blue";$colors=join...)
  30. -i or /i /searchterm/i
  31. !~
  32. /m/searchterm/ same as /searchterm/
  33. Boundaries between words
  34. x
  35. ^ Example /^The/
  36. $ Example: /searchterm\.$/
  37. [\ \t\n\r] (space,tab,newline,return)
  38. s - For example '.' will now match any character, even newline characters.
  39. =~ m#searchterm#
  40. ?<!
  41. +?
  42. /red|blue/ or /(red)|(blue)/ or /(red|blue)/
  43. Punctuation Characters
  44. =~
  45. Alphabetic or Numeric Characters
  46. /wa[^rx]/ Does not contain war or wax
  47. =~ tr/ABC/ab/d; - Replace 'A' with 'a', 'B' with 'b', deletes 'C' (Without d, 'C' with 'b')
  48. + /n+/ - Searches for n, or nn, or nnn....
  49. \Q<text>\E
  50. We can use [] or <>; easier if searching for /