BabelRegex is a tool that translates between different regex dialects.
If you had JavaScript enabled, you would be seeing a UI for that right now.
You can see koalaman/babelregex @ GitHub for how to invoke the tool from the command line. BabelRegex is ultimately a JS library though, so you'll need JavaScript either way.