Forum Moderators: phranque
(?:(?:\"|'|\]|\}|\\|\d|
(?:nan|infinity|true|false|null|undefined|symbol|math)|
\`|\-|\+)+[)]*;?((?:\s|-|~|!|{}|\|\||\+)*.*(?:.*=.*)))
What I "know" would fit in a gnat's thimble!
you can seriously injure yourself with a carelessly applied Regular Expression.Been there, done that. But closing the file without saving it gives me a redo. I have since then made a habit of manually running find/replace for at least several (depending on outlier parameters) before unleashing the "Find All". It certainly can be another case of be careful what you wish for.
But closing the file without saving it gives me a redo.Infinite Undo is your very, very, very good friend. Remember when it didn’t exist? :) Now, if only I could get the text editor to understand “please undo the third-to-last global replace while retaining the results of the ones after that”.
"Find Next" or for a large document choose "Find All"I never use TW for individual documents; my default text editor is an older version of SubEthaEdit. (Newer versions changed the HTML Preview format to a style I don't like.) After much poring over TW menus, I did find a “Replace & Find Next”
TW's Find AllThere just doesn't seem to be any middle ground between unsupervised global replace, and working on one file at a time--whether that one file is individually open in a window of its own, or selected from the list in the Find All window doesn't really matter. And if there's a way to refresh the Find All window (show how many matches are left after I've done whatever I wanted to do manually), I've yet to find it :(