... How come? For me, it's perfectly matching the whole string 'Axel{Berger}Odenthal39;. Please test it again. I don't have your complete data, so it's difficult...
I don't think this is elegant. (Brute force comes to mind). I could not find any RegEx in string handling that was useful for this and would eliminate the...
... Don't know about elegant. You have isolated your 0098 or 999. Get its length and save. Increment. Get length of result and save max of that and the former...
I thought this would be easier than it was and can't shake the feeling that there is a better way than what I can come up with so I ask for creative ideas...
... I'd rather not include them, that's just what Match Brackets does. I'd have had to eliminate them later. ... Yes. Or rather some LaTeX construct like \v{s}...
... You will achieve the same result without ^$StrCopy$ when writing... ^!Find "(?x)92;\foreignlanguage92;{greek92;} (\{ ( ([^{}]++|(?1) )* )\} )" RS2 So far,...
From the help file of NTP62 "Regular Expressions, Recursive Pattern": \( ( [^()]++ | (?R) )* \) Or in a lager pattern: ( \( ( [^()]++ | (?1) )* \) ) In your...
... Yes, I was afraid I might have to resort to somthing like that. The shame is, NT already has everything needed in Search-->Match Brackets, but no Clips...
When matching tag paris in html, I use a loop and a stack to match up pairs. For nested brackets a simlar technique might work. Except there is no need to use...
In my documents I have this string: \foreignlanguage{greek}{Qr'onos} To convert that from TeX to HTML I need to find the greek word "Qr'onos" Easy: ^!Find...
... There may be more than one such foreign block and there may be more than one lnguage, Greek and Hebrew are other possibilities. That's why I needed the R...
... Interesting solution! Maybe you could even omit marking those characters with 'R'. Search those characters inside the selection, assign them to an array,...
In View-->Options-->Files I've set "Match Directories". It seems that when no file is open NoteTab remebers the last "Save As" directory. I would find it much...
... How about a set of farclip subroutines that remember the current selection and reselect the remembered selection? That would be a nice enhancement! Joy...
... That If ought to be superfluous - the A already does the same. And yes, thats exactly what I'm going to do, except that with Replace I can only set a...
I often do things like this, and find it easiest to do the initial find, then use replaces within that find, then loop back to do another find. You can use...
... Yes, but it needs to be a Find H inside a selection and the first hit destroys it. I'll now use a regex ^!Replace to mark the russian letters and a second...
... Or just... ^!Find "[\xC0-\xF0]" R ^!Set %Char%="^$Calc(848+^$CharToDec(^$GetSelection$)$)$;" ^!Replace "^$GetSelection$" >> "^%Char%" ST Regards, Flo...
... '^$CharToDec()$ is a conventional string function that can't deal with a RegEx metacharacter. So '$1' isn't interpreted as a back reference here but as a...
... Addendum: I can't use an inner loop. ^!Find "something" H selects the found item and destroys the outer selection. ^!Replace "old" >> "new" H doesn't allow...
... Doesn't help. In my UTF converter, where I expected only few such characters loosely scattered through the text I looped through individual chars. Here,...
There used to be the problem that ^!Replace could not use functions and ^$StrReplace()$ could not use Regex. The latter seems to be fixed, except for one...
The half baked charset functions in NTP are really beginning to get to me. I've still not upgraded from version 7.01, so should the following be fixed, please...