Super ReplaceDo translations and any text transformations with regex replace! FeaturesSuper Replace is an advanced regex replace tool which allows you specify additional text processing function when replace. Demo 1: Translate matched texts to Chinese. Demo 2: Extract option texts from HTML source code, and convert them to lower case. Quick TutorialReplace Tutorial
We know that, with regexp replace, we can use Super Replace extends the capability by using The foregoing processed matches are outputs of the function given here. It recieve sub matches as input, and could be either "(texts: string[])=>strings[]" or "(text: string)=>string". For example, find Extract Tutorial
RequirementsIf you want to translate, you need a Google Cloud Translate API Key file and configurate the path to Reference: Language Support by Google Translate Extension Settings
Known IssuesPlease post and view issues on GitHub Enjoy! |