Text replaced by string
What this tool does
This tool helps you change the first instance of a specific word or phrase in your text to something else. It is useful for quickly editing a sentence or correcting a typo in a larger block of text without affecting other parts of it. The platform processes your input and returns the modified text. This simple function is ideal for one-time edits where you only need the first occurrence replaced.
When to use it
- Correcting a misspelled name in a paragraph.
- Updating a single date or number in a sentence.
- Changing the first mention of a company name.
- Replacing a specific keyword in a short message.
What to expect
You will receive the full original text with only the first match changed. The result is a text string that shows the new content clearly.
Limitations
- Only the very first match is changed; subsequent matches remain untouched.
- The search is case-sensitive and looks for exact character matches.
- If the text is empty, the result will also be empty.
When it fails
- If the 'find' text is not valid syntax for search, the platform returns the original text unchanged.
- If required fields are missing, the operation cannot proceed.
Good to know
- If the word you want to find does not exist in your text, the platform returns the original text as is.
- Special characters in the 'find' field may require careful formatting to work correctly.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
text | Yes | Hi, good morning! | Type the full text you want to edit here, for example 'Hi, good morning!'. |
find | Yes | o | Type the exact word or phrase you want to replace, for example 'o'. |
replace | Yes | u | Type the new text that will take the place of the found item, for example 'u'. |
Output data
| Field | Description |
|---|---|
result | The modified text with the first match swapped out, for example 'Hi, gud mornung!'. |