Roboteka
Roboteka · Robots · 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 a number

Turns a number into a readable form: decimal places, decimal point, and thousands separator. For emails, documents, and messages.

Text processing

Format phone number: custom prefix

Strips spaces, brackets and dashes and normalizes the number to "prefix + digits". The prefix is typed in: +, +1, +44, etc.

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

String hash

Computes a string hash: md5, sha1, sha256, or crc32. For signatures, deduplication, and anonymous identifiers.

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

Parse package dimensions

Parses a dimensions string ("120×80×60 cm, 15.5 kg") into separate numbers and computes volume, volumetric and chargeable weight.

Text processing

Replace substring

Replaces every occurrence of a substring with a new value. No regular expressions — a plain text replacement.

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

Strip extra spaces

Removes whitespace at the string edges (or only at the start/end) and optionally collapses repeated inner spaces into one.

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.