Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Returns the value of the first element of an Array that matches a Regular ExpressionExpressions or Numeric Expression.

Syntax

...

ArgumentTypeDescription
arrayArrayAn array of Strings or Numbers
regExp

Regular ExpressionExpressions or

Numeric Expression

A numeric or string-based regular expression.

...

Returns the first number which is lower than 90 OR between 150 and 200 i.e. 166. Note that the numeric expression is quoted when used as an argument to firstMatch()

See Also