Skip to main content

Text & Lists

substring Extractor

Find and collect substring from the supplied input. Enter the text, set the transformation rules, then copy the result.

Tool workspace

Your input stays in this browser.

Add the required input to continue.

Needs input

You can run the tool again after any change.

Range

Your result appears here

Find and collect substring from the supplied input. Enter the text, set the transformation rules, then copy the result.

This tool runs open-source code from OmniTools (MIT License). See open-source credits.

substring Extractor returns a fixed-length slice from a one-based character position.

bcd Processing runs in the browser.

Instructions

  1. Provide text or data for this tool.
  2. Enter a start position greater than zero.
  3. Set the requested length and choose single-line or multi-line mode.
  4. Enable reverse only when each extracted value must be reversed.

Example

Input: qwerty

Settings: substring Extractor: Start at 2, take length 3, and keep normal order.

Result: bcd

Limits

  • substring Extractor: Positions use one-based indexing in the form.
  • substring Extractor: A slice beyond the input ends at the available text.
  • substring Extractor: The operation runs in the browser and does not need a network service.