# IsMatchRegEx (StartAt)

| **Name**    | ***IsMatchRegEx***                                                                                                                                                                                                    |
| ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Syntax      | IsMatchRegEx (String pattern, String str, Integer startAt)                                                                                                                                                            |
| Purpose     | To return true if the regular expression found a match in the string. Otherwise, returns false. It also considers the starting position.                                                                              |
| Description | Indicates whether the regular expression finds a match in a specified input string value at the specified integer position.                                                                                           |
| Return Type | Boolean                                                                                                                                                                                                               |
| Parameters  | <p>pattern \[System.String] – Regular expression pattern to match</p><p>str \[System.String] – String to search for a match</p><p>startAt \[System.Int64] – The character position from which to start the search</p> |

![](/files/OFNVQqL4OOrmZCC282lX)

**Example**

In this example, we will pass the required parameters to the function transformation object using a *Variables* object.

Where,

*pattern* = {x,y}

*str* = 1234{x,y}

*startAt* = 4

![](/files/Uo8FmAdr8D7EP6oVDePb)

In the output window, you can see that Astera has returned “True”, as the specified string matches the specified pattern value, from the specified start position.

![](/files/8cVEPieVJ3t09hZKEi5C)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.astera.com/astera-data-stack-v10/functions/regular-expressions/ismatchregex-startat.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
