- Posted by
- Well I thank you as well. This was a one-shot data-extraction task(hence the specific and "dirty" code you find splattered all over the thread). But then again it was also a great exercise in UE scripting(this was my first encounter with it) and also in JavaScript and regex which I need every now a...Posted in Scripts
-   Topics
-   Views
- martix
Aug 24, 2009
- With the script you presented - it is indeed faster and works quite consistently and nicely. Nifty little trick using the CR/LF. As of right now the script did the job it was supposed to do, and for that I am enormously grateful. Thank you very much for your time. [hr] The next part is optional read...Posted in Scripts
-   Topics
-   Views
- martix
Aug 21, 2009
- I have this regex that in UltraEdit in 3 different usage instances evaluates in 3 different ways! ^.*?\(.*?[0-9]\).*?(\r\n((?!\(.*?[0-9]\)).)*$|$) RE explanations: Match any one or 2 lines, the first of which contains a parenthesized word and digit(also making sure if it is a one-line match, not to ...Posted in Scripts
-   Topics
-   Views
- martix
Aug 21, 2009
- This is Perl RE: I have a regex that is not working as it is supposed to, I do not know why: .*?\(.*?[0-9]\).*?$\r\n^((?!\(.*?[0-9]\)).)*$|^.*?\(.*?[0-9]\).*?$ It is supposed to match the two-liner option if possible and the one-liner otherwise. However it only ever matches one line!Posted in Scripts
-   Topics
-   Views
- martix
Aug 20, 2009