Skip to main content

Extract Strings

Extracts strings that match the conditions of a regular expression.

URL​

https://api.excelapi.org/language/regex-match

Configuration​

ConfigurationRequiredDescription
text✔Specifies the target string of the regular expression
regex✔Specifies a regular expression
lineIf there are multiple strings matching the condition, specify the number of the first match. If not specified, the first match is returned.

Example​

サンプル

C2:

=WEBSERVICE("https://api.excelapi.org/language/regex-match?text="&ENCODEURL($A2)&"&regex="&ENCODEURL($B2))