Skip to main content

Find Text by Regex

This activity searches for text in a PDF file using a regular expression pattern and returns the matched results.

Core Functions

  • Reads the PDF content from the provided memory stream
  • Extracts textual content from PDF pages
  • Applies the specified regular expression pattern to the extracted text
  • Finds and collects all matching text results
  • Returns the matched values as output

Inputs

  • PdfMemoryStream: Represents the source PDF file in memory stream format
    Type: MemoryStream

  • Regex: Defines the regular expression pattern used to search for matching text
    Type: String

Outputs

  • Output: Collection of text values that match the specified regex pattern
    Type: List<String> / Collection

Short Technical Summary

Searches text within a PDF memory stream using a regular expression and returns all matching results.