Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

ServiceNow CIS-SM Exam - Topic 8 Question 96 Discussion

Posted by James on Nov 22, 2025 at 04:30 AM

Which one of the following Regular Expressions could be used to parse the value 5.2.0 from the string:

Suggested Answer: C

Get Premium CIS-SM Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
30 comments · newest first
CO
Colette 6 months ago
C is clear and precise for parsing.
FR
Francine 7 months ago
B is close, but it has extra parts.
LE
Leota 7 months ago
D doesn't make sense for this case.
BA
Barney 7 months ago
A is too simple, it won't work for 5.2.0.
CA
Carin 7 months ago
Yeah, C captures the full version format.
HO
Hoa 7 months ago
I’m surprised A is even an option; it doesn’t cover the full version!
DO
Dorethea 7 months ago
Wait, is D even a valid regex? Seems off to me.
MA
Major 8 months ago
Definitely going with C, it captures all parts correctly!
AR
Aron 8 months ago
I think A could work too, but it’s too simple.
LO
Lovetta 8 months ago
C) is the way to go. Regular expressions may look intimidating, but they're super powerful once you get the hang of them.
AL
Aleta 9 months ago
Haha, who even uses regular expressions these days? Just use a string split, it's way easier.
AM
Amira 9 months ago
D) Version (.\A) is clearly the wrong answer. That wouldn't match the version number at all.
EN
Ena 9 months ago
I'm pretty sure the answer is C. It looks like the most straightforward way to parse the version number.
AR
Arlette 9 months ago
C) Version\s+(\d+\.\d+\.\d+) is the correct answer. It uses a regular expression to match the version number in the format "Version 5.2.0".
JO
Johna 9 months ago
I practiced regex questions before, and I feel like option A is too simple to capture the full version number.
KA
Kathrine 9 months ago
I'm not entirely sure, but I remember something about using \s+ for spaces in regex. Maybe that makes option C the right choice?
IN
Ines 10 months ago
I'm going to go with C. The other choices seem overly complicated or don't quite fit the given format. C looks like the cleanest and most straightforward solution.
AN
Angelo 10 months ago
I'm pretty confident that C is the right answer. The other options either don't match the full version string or have unnecessary complexity.
PR
Princess 10 months ago
Hmm, I'm leaning towards C as well. The other options don't seem to fully capture the version string format. C looks like the most robust solution.
SI
Simona 10 months ago
I think option C looks familiar because it captures the version format with the three numbers separated by dots.
SA
Sanjuana 10 months ago
C is the right choice for parsing that version format.
ON
Onita 11 months ago
I think option C is the best choice.
NI
Nikita 11 months ago
I’m confused about option B; it seems to have extra parentheses that might not be necessary. Did we cover that in class?
CR
Craig 11 months ago
I'm a bit confused on this one. I'm not sure if B or C is the better approach. I'll need to think it through carefully.
YO
Yolande 11 months ago
I think C is the best option here. The regex "Version\s+(\d+\.\d+\.\d+)" should be able to capture the full version string, including the 5.2.0 value.
LE
Lenna 6 months ago
↳ replying to Yolande
C handles the version format perfectly.
SA
Sage 6 months ago
↳ replying to Yolande
C is the best choice for sure!
SH
Sheron 6 months ago
↳ replying to Yolande
C is definitely the most precise option.
KR
Kristeen 6 months ago
↳ replying to Yolande
I agree, C looks solid for capturing the full version.
LO
Lou 11 months ago
↳ replying to Yolande
I think C captures everything we need.
0/2000 characters

Save Cancel