--- title: "simple-regex-matcher()" slug: "string-simple-regex-matcher" updated: 2025-11-13T06:52:25Z published: 2025-11-14T02:46:29Z canonical: "docs.lobstersoftware.com/string-simple-regex-matcher" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt > Use this file to discover all available pages before exploring further. # simple-regex-matcher() Gibt die erste Übereinstimmung aus einem Text **a** mit dem regulären Ausdruck **b** zurück. Für Mehrfachübereinstimmungen verwenden Sie bitte Funktion [regexExtract()](/v1/docs/string-regex-extract). ## Parameter | Parameter | Beschreibung | | --- | --- | | a | Der Text, auf den der reguläre Ausdruck angewendet wird. | | b | Der reguläre Ausdruck. | ## Beispiel | Parameter a | Parameter b | Ergebnis | | --- | --- | --- | | This is a text1 and a text2. | a text. | a text1 |