I am trying to use this to replace the path of some databricks notebook paths in a json files. The json files will have fields like this:
"notebookPath": "/Repos/<username>/<Repo>/notebooks/<path to notebook ...>",
I just need to change this to:
"notebookPath": "/notebooks/<path to notebook ...>",
I've used the following configuration:
`
steps:
- task: knom.regexreplace-task.regex-replace.RegexReplace@3
displayName: 'RegEx Find & Replace: Replace Databricks Repo Paths in Pipelines'
inputs:
InputSearchPattern: 'pipeline/.json'
FindRegex: '(/Repos/(.)/notebooks)/'
ReplaceRegex: '$1(notebooks)'
UseUTF8: false
UseRAW: false
`
But no change appears in the code on the branch.