---
title: "find"
sidebar_label: "find"
description: "Kotlin binding reference: find."
---

<!-- Generated by tools/api_reference/generate_api_docs.py. Do not edit. -->

//[clika-runtime](../../../index.md)/[io.clika.runtime](../index.md)/[Regex](index.md)/[find](find.md)

# find

[common]\
fun [find](find.md)(text: [String](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html), start: [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html) = 0): &lt;Error class: unknown class&gt;&lt;[Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html), [Long](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-long/index.html)&gt;?

The leftmost match at or after byte offset [start](find.md): its `[begin, end)` byte offsets in [text](find.md), or null for none. Pass a match's end as the next start to walk every match.