skgandikota/TransformText
Transform text with regex replace, base64 encode/decode, URL encode/decode, case conversion, trim, and more.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| text | The input text to transform. | yes | — |
| operation | The transformation to apply: regex_replace, base64_encode, base64_decode, url_encode, url_decode, uppercase, lowercase, trim, substring, split, template, reverse, length, lines, hash_sha256. | yes | — |
| find | Regex pattern to find (for regex_replace operation). | no | "" |
| replace | Replacement string (for regex_replace operation). Supports $1, $2 capture groups. | no | "" |
| start | Start index (for substring operation). | no | 0 |
| end | End index (for substring operation). Empty means end of string. | no | "" |
| delimiter | Delimiter (for split operation). | no | , |
| index | Element index to return (for split operation). Empty returns all as JSON array. | no | "" |
| flags | Regex flags (for regex_replace operation, e.g. "gi"). | no | g |
Outputs
| name | description |
|---|---|
| result | The transformed text. |