skgandikota/TransformText

Transform text with regex replace, base64 encode/decode, URL encode/decode, case conversion, trim, and more.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
textThe input text to transform.yes
operationThe 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
findRegex pattern to find (for regex_replace operation).no""
replaceReplacement string (for regex_replace operation). Supports $1, $2 capture groups.no""
startStart index (for substring operation).no0
endEnd index (for substring operation). Empty means end of string.no""
delimiterDelimiter (for split operation).no,
indexElement index to return (for split operation). Empty returns all as JSON array.no""
flagsRegex flags (for regex_replace operation, e.g. "gi").nog
namedescription
resultThe transformed text.