Roboteka
Roboteka · Catalog · Text processing

Text processing

“Text processing” robots for Bitrix24 business processes — ready-made activities for the workflow designer.

Text processing

Cut string

Removes all occurrences of the second value from the first; returns the result.

Text processing

Extract by regular expression

Searches for regex matches in a string. Returns the first match (or a specific capture group) and all matches.

Text processing

Fix typos

Fixes common typos and spelling errors in text. Supports wrong-layout correction (text typed in the wrong keyboard layout). Returns corrected text and whether any correction was made.

Text processing

Format phone number

Normalizes a phone number to the chosen format. Russian: 8-xxx, 7-xxx, +7-xxx. International: +1-xxx, +44-xxx, etc. Removes spaces, brackets, and dashes.

Text processing

Format string by regex

Applies regex replace to the string (PHP preg_replace). Use $0, $1, $2… in replacement for match and groups.

Text processing

Join values with delimiter

Joins an array of values into a single string using the given delimiter. The reverse of "Split string".

Text processing

Build JSON from fields

Assembles a JSON object from a list of keys and corresponding values. Handy for sending to a webhook or external API.

Text processing

Extract value from JSON by path

Parses a JSON string and returns the value at a dot-notation path. E.g.: data.user.email or items.0.name

Text processing

Split string by delimiter

Splits a string into parts using the given delimiter. Returns an array of elements and their count.

Text processing

String length / word count

Returns the number of characters in a string and the word count. Useful for validation, SMS length checks, and trimming.

Text processing

Strip HTML tags from text

Removes all HTML tags from a string. Useful for cleaning email body or description text before saving to a field.

Text processing

URL-encode / decode string

Encodes a string for use in a URL (encode) or decodes it back (decode). Supports standard and component (rawurlencode) formats.