Answered question

Extract All Occurrences array issue?

I am extracting all occurrences of a particular variableX. I am using the 'Alphabet character' as my criteria.
The array contains the following [,AL,AX,LC,].

Why are the first and last values extracted? It means that variableX_1 and variableX_5 contain null values.

Paul C.
Paul C.

Paul C.

Level
1
113 / 750
points
Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

the * is zero or more characters, so zero alphas will match, see my screenshot from regex101.com

Did you find this useful ?

No (0)

Yes (1)

100%

100% of users found this answer useful

Other answers

Neil W.
Neil W.

Neil W.

Level
4
5000 / 5000
points
Team

Because they match a pattern in the response, what does the response and regex look like?

Paul C.
Paul C.

Paul C.

Level
1
113 / 750
points

How can the first and last array values match the pattern in the response if is is looking for an alphabetical character?

The regex is \n<option value="([a-zA-Z]*?)"