Input
ExecutionInitiate Execution
Data/Files/Operations
Searches the text files below a directory for a literal string or regular expression and returns each matching line with its line number and surrounding lines. Works on every store type. Binary files and files above the size limit are skipped, and lines longer than 1,000 characters are shortened.
Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.
Initiate Execution
Directory to search recursively
Text or regular expression to search for
Treat the pattern as a regular expression
Match upper and lower case exactly
Only search paths matching one of these globs, e.g. *.rs or src/**/*.{ts,tsx}. A glob without / matches any path segment. Empty searches all files
Skip paths matching one of these globs, e.g. node_modules or **/*.min.js
Skip files larger than this many bytes
Stop after this many matching lines
Lines to include before and after each match
Done with the Execution
Matching lines with path, line number and context
Path relative to the searched directory
The matching file, ready for Read to String and other file nodes
1-based line number
True when more matches exist than Max Results allowed
Number of text files that were searched