We need to capture the each text (highlighted in Bold) available next to each “CoCode” text ( It can be 4 digits or 3 or 2 letters)
Expected Values : 3106 , HF & HUK
Requirement 2 –
Validate each captured values
in the DT and if any one of the captured text is available in the DT ( Attached the DT values in the excel DBForValidation.xlsx (10.3 KB)
)… Then store str_RegionMatching=“Yes” … if none of the captured values is not matching with DT with Then store str_RegionMatching=“No”
for smaller founds we can use a Collection Contains
IF: myCodesAsStringArray.Contains(myRowColString)
For more large sets we can use a HashSet for the Codes and the Contains method