How to selectively replace some words in a single cell e.g. there are 7 variables named 'foo', and replace 3 of them by 'moo'. The ipython notebook gives only option of replace all.
The version 6.1.1 of the notebook server does not all address this issue. However, I have shifted to Jupyter Lab 2.1.5, which allows selective replacement.
It looks as if it is not possible as of today.
Here's what one of the contributers says on the subject:
I am opposed to trying implement that in our current UI - it doesn't have the needed abstractions to do that well. In the new JupyterLab/Workbench it will be quite easy to build a find/replace UI in a separate panel that allows us to toggle the individual replacements while still showing the notebook (in a non-model way).
https://github.com/jupyter/notebook/issues/558#issuecomment-164180866
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With