How much do you know about Java Regex? In Java, Regex, also known as Regular Expression is an API that helps in defining a pattern that can be used to search, edit or manipulate a string. Take the Java Regex quiz with a set of 10 multiple choice questions and answers to test your knowledge. To get further information, you can also check the Java Regex online course.
Matcher class
Pattern class
String class
None of the preceding
Rate this question:
Range of numbers
Range of alphabets
Range of special characters
None of the preceding
Rate this question:
Kleen Star
Kleen Plus
Both a & b
None
Rate this question:
A string
An integer
A single character
Multiple characters
Rate this question:
\d
/d
/z
\z
Rate this question:
Matches a string that contains zero n only
Matches a string that contains one n only
Matches a string that contains at least one n
Matches a string that contains more than one n
Rate this question:
A string regular expression must first be compiled into an instance of the Pattern class.
A string regular expression can be compiled into an instance of the Pattern class.
A string regular expression must first be compiled into an instance of the Matcher class.
A string regular expression can be compiled into an instance of the Pattern class.
Rate this question:
The tab
The new line
The carriage return
All of the preceding
Rate this question:
Regex class
Regex library
Regex engine
All of the preceding
Rate this question:
Quiz Review Timeline (Updated): Mar 21, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Java Assessment Quiz
How much do you know about Java? Well, soon, we will find it out when you will take this Java assessment quiz. Java is known as a high-level, class-based, object-oriented...
Questions:
15 |
Attempts:
1707 |
Last updated:
Jun 17, 2024
|
Informatics Practice Quiz: Exam!
The Informatics Practice Quiz: Exam assesses knowledge in Java programming, focusing on swing controls, operators, loops, and switch-case statements. It is designed to test...
Questions:
10 |
Attempts:
453 |
Last updated:
Mar 19, 2023
|
Code Buzz (Language : Java)
"A good programmer is someone who always looks both ways before crossing a one-way street"
Do you have a wide vision on programming?
Do you have control on several...
Questions:
30 |
Attempts:
231 |
Last updated:
Mar 20, 2023
|
Java MCQ: Ultimate Trivia Quiz!
Dive into the Java MCQ: Ultimate Trivia Quiz! Test your knowledge on Java fundamentals, including bytecode files, constructors, and JVM's role. Perfect for learners aiming to...
Questions:
29 |
Attempts:
662 |
Last updated:
Mar 22, 2023
|
Programming 11: Java Assesement Exam
This will be the first quiz of our Programming 11 class. It will be to review basic introductory concepts covered in our Java Topics.
Questions:
38 |
Attempts:
412 |
Last updated:
Mar 21, 2023
|
Java: Expression Evaluation Questions! Trivia Quiz
This trivia quiz is made up of expression evaluation questions on Java. It is perfect for any computer geek who wants to test out how good they are when it comes to the solving...
Questions:
11 |
Attempts:
527 |
Last updated:
Mar 21, 2023
|
|
Wait!
Here's an interesting quiz for you.