I am trying to get a handle on RegExp but to no avail. I have searched my archives but didn't find what I needed. I have also read the text in the help files...
I have a number of SGML/XML files where a proprietary tool IDs the tags. I can reuse a lot of my work, but I have to strip those IDs because it sees them as...
Lee ... ^!replace "*<strong>Details:</strong>*.*\*(.*)" >> "*<strong>Date *$1:*</strong>*" rwasi the above is for Notetab 5 and relies on the existence of the...
On Wednesday 03 January 2007 15:23, Wiles, Carolyn M wrote: <snip> ... All below are untested. And, if your tag(s) span lines (tag is not only on one line)...
Thanks but it creates a "Regex error: nothing to repeat". Then gives a clip error. It doesn't do anything. Lee On 1/3/2007 10:11 PM, buralex@... wrote: ...
Sheri, Thanks. I appreciate it. It looks like a good resource. I'm not giving up learning this. I want to learn it inside and out. I am just trying right now...
Lee: This time I tested by putting the find clause and the replace clause in the REPLACE dialog, copied your original email to a new file in Notetab. Clicking...
Hi Alec, When NoteTab gives a regex error, it is only ever referring to the search side of a replace command. You have some unescaped asterisks there,...
Sheri,Lee: It looks like Thunderbird was munging what I sent (I think recognizing the strong tag in angle brackets and trying to "help" by putting the...
Hi With the partial clip below it loops, the no. of tracks but you still have to press shift at the end to exit, is the a way to on the last loop to exit and...
Sending code to people who use Thunderbird for their email can be tricky, in particular over '>' characters. Tb users should check the syntax of any code they...
Just a short note in case anyone has the same trouble as me - after I upgraded from v4.6 to v5.1 I found that the Run and Syntax Check clips in the PerlIde...
Alec, This works except it includes the entire rest of the portion (making it all bold). Here is a sample of what I have to change (portions to be changed are...
Try it this way: ^!Replace "(?s)(<strong>.*?)Details:.*?(</strong>).+?(Uploaded)" >> "$1Date $3$2" RAWS0 can also be written so it defaults to Ungreedy to...
According to the Help File, ^$GetDocMatchAll "finds all matching strings based on the supplied regexp pattern". Look at the words: Hickory Dickory Dock When...
Flo: Sheri may have a more definitive answer but behavior you observe makes sense to me. Once having matched "Hickory Di" the pointer is here (marked by X): ...
Dave, Just forget about using SHIFT altogether. Use the Wizard's CANCEL button to exit early. Here is how I would do this: ^!Set %n%=0; %tracktitle%=Common...
Alec, Thanks for your explanation! But isn't this inconsistent with the Help File saying that ^$GetDocMatchAll "finds all matching strings"? The regexp pattern...
Sheri, Thanks! That works great! I was also able to adapt it for another change. I'll take a dissect it to get a better understanding. Thanks again. Lee On...
Jonas: Now you've got me brooding :-) I think I understand your example but you didn't supply what the desired output was. Lets try a different example. * Say...
Sheri, Thanks for your reply! From your proposal, I learn how to get to a solution using the ^!Find command in lieu of ^$GetDocMatchAll$. Even for a beginner...
Alec, Thanks for your help in this matter! After brooding about ^$GetDocMatchAll$, now I'm brooding about your proposal :-/. To be frank, this is a bit too...
Are you must trying to get things x characters before and x characters after a keyword in a file or selection? I'll admit most of the conversation went over my...
Hi Alec, Flo, Assuming that in reality you would use one or more variables in the regular expression to convey the keyword(s) there are two concerns: 1. that...