Replace text in string literals

Proprietary

Replaces every match of a regular expression in the string and template literals of JavaScript and TypeScript files.

org.openrewrite.react.mui.replace-in-string-literals

Required

The regular expression, applied globally.

The replacement, which can use $1 and so on.

mod run . --recipe=org.openrewrite.react.mui.replace-in-string-literals \ -P pattern='Joy([A-Z]+)' \ -P replacement='Mui$1'

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.