Question: Suppose I have a regular expression for detecting the format of a postal code in a variable postalRegEx and the postal code field is loaded
Suppose I have a regular expression for detecting the format of a postal code in a variable postalRegEx and the postal code field is loaded into a variable postalCode. Which of the following statement is TRUE when the postal code is valid?
Question Answer
a
postalCodevalue.searchpostalRegEx
b
postalCodevalue.matchpostalRegEx
c
postalCodevalue.matchpostalRegEx true
d
postalCodevalue.searchpostalRegEx
e
postalCodevalue.searchpostalRegEx true
f
postalCodevalue.matchpostalRegEx
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
