InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Regex for Matching Specific characters excluding or include some characters |
|
Answer» Regex for MATCHING Specific characters excluding or INCLUDE some characters |
|
| 2. |
Other Special Character |
|
Answer» Other Special Character |
|
| 3. |
Regex introduction about the Wild Character The Dot third chapter |
|
Answer» REGEX introduction about the Wild Character The Dot third chapter Here we will get regex MATCHING character with The Dot (.) which will match with single character letter, DIGIT, whitespace or EVERYTHING there can be more then one character also (3)Excercise :- Matching The DOT Task Text Match cat. Match 896. Match ?++. |
|
| 4. |
Regex to Match Start and End in string |
|
Answer» Regex to MATCH Start and End in string |
|
| 5. |
Match Groups |
|
Answer» Match Groups |
|
| 6. |
Regex for occurance of any character in range 0 to n |
|
Answer» Regex for occurance of any character in range 0 to N |
|
| 7. |
Regex Whitespace Handling |
|
Answer» REGEX Whitespace Handling Here in this regex we will HANDLE the whitesapce to handle this whitespace we will USE " s" to handle this. And if whitespace is more then 1 then we will use "+" after " s" and to hanlde "." single character we will use " .". Now WRITE regex for below 3 and skip the 4th one (9)Excercise :- Handle Whitespace Task Text Match 1. abc Match 2. abc Match 3. abc SKIP 4.abc |
|
| 8. |
Regex introduction 2nd step and matching Digits |
|
Answer» REGEX introduction 2nd step and matching Digits As we KNOW numbers are in between 0-9 characters we can use /d for any digit from 0 to 9. Below are the 3 PATTERN are displayed PUT your answer in below textbox this will provide you a hint of answer (1)Excercise :- Matching Digits Task Text MATCH abc123xy Match define "123" Match var g=123; |
|
| 9. |
Nested Groups |
|
Answer» Nested GROUPS |
|
| 10. |
More Group Work |
|
Answer» More GROUP Work |
|
| 11. |
Conditional Regex |
|
Answer» Conditional Regex |
|
| 12. |
Regex Tutorial |
|
Answer» REGEX Tutorial Regex introduction first STEP and MATCHING Characters Here we will get Regex Matching Character this is a introduction and the ABCs character matching. Below is the DIFFERENT pattern that matches all 3 rows below define. Write some Regex for matching below 3 lines and you also have the solution write below of the textbox (1)Excercise :- Matching Characters Task Text Match abcdefg Match abcde Match ABC |
|
| 13. |
Optional Charcters |
|
Answer» Optional Charcters |
|
| 14. |
Regex for repeat of some character |
|
Answer» Regex for repeat of some character |
|
| 15. |
Regex for doing Character Ranges |
|
Answer» REGEX for doing CHARACTER Ranges Here in this regex we will USED RANGE for specific characters which can either a-z or we can use range of 0-9 here we have used only alphanumeric charcters(LOWER vs upper case). Below from 6 case 3 need to match and 3 need to skip (5)Excercise :- Matching Specific Characters Task Text Match Ana Match Bob Match Cpc SKIP aax SKIP bby SKIP ccz |
|