# DocTextFinderMatch Class

> A phrase in the document that matched the supplied regular expression along with its associated quad bounding box(es).

- Product: Adobe PDF Library 18
- Language: Java
- Version: APDFL18.0.5PlusP2e
- HTML page: https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/class/DocTextFinderMatch
- Version index: https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/llms.txt

```java
class DocTextFinderMatch
```

**Namespace:** `com::datalogics::PDFL`

## Description

A phrase in the document that matched the supplied regular expression along with its associated quad bounding box(es).

**Referenced by:** [`DocTextFinder`](https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/class/DocTextFinder.md), [`DocTextFinderMatchVector`](https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/class/DocTextFinderMatchVector.md)

**Uses types:** [`DocTextFinderQuadInfo`](https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/class/DocTextFinderQuadInfo.md)

## Methods

### delete

```java
synchronized void com.datalogics.PDFL.DocTextFinderMatch.delete(Boolean disposing)
```

*protected*

**Parameters**

- `disposing` (`Boolean`)

**Returns:** `synchronized void`

### delete

```java
synchronized void com.datalogics.PDFL.DocTextFinderMatch.delete()
```

**Returns:** `synchronized void`

### finalize

```java
void com.datalogics.PDFL.DocTextFinderMatch.finalize()
```

*protected*

**Returns:** `void`

### getMatchString

```java
String com.datalogics.PDFL.DocTextFinderMatch.getMatchString()
```

**Returns:** `String`

The matched text string from the document.

Gets the text string that matched the regular expression.

### getQuadInfo

```java
java.util.List< DocTextFinderQuadInfo > com.datalogics.PDFL.DocTextFinderMatch.getQuadInfo()
```

**Returns:** [`java.util.List< DocTextFinderQuadInfo >`](https://docs.datalogics.com/apdfl18/Java/APDFL18.0.5PlusP2e/class/DocTextFinderQuadInfo.md)

A list of DocTextFinderQuadInfo objects describing where the match is located.

Gets the quad info and page numbers for the matched text. Each DocTextFinderQuadInfo in the returned list contains the page number and bounding box quads for a portion of the matched text.
