- Posted by
- Last question - and this I'm not sure can be done in UltraEdit. I realize what I now need is Perl or Javascript. But I'll ask anyway... Is it possible to add 2000 to the 3rd number? (My range for the 3rd number is 2000.0 to -2000.0) For example: -70.098333 37.823333 -1956.1 becomes: -70.098333 37.82...Posted in Macros
-   Topics
-   Views
- skeletrooper
Dec 20, 2007
- Hi Again, How about if I want to replace the third number with a value of -2000, instead of deleting the line (the rest of the conditions the same)...something like this? Find RegExp "%* * -[1-9][0-9][0-9][0-9][0-9]+^p" Replace All "^1 ^2 -2000" Find RegExp "%* * -[2-9][0-9][0-9][0-9]^p" Replace All...Posted in Macros
-   Topics
-   Views
- skeletrooper
Dec 10, 2007
- Hi, I have a large text file that has 3 numbers per line (latitude, longitude, elevation), space-delimited. Example rows are: -75.00000 42.50000 518 -74.99583 42.50000 505 -71.40000 40.70417 -60 The first 2 numbers stay in the -75 & 42 range. I need to DELETE all lines where the 3rd value is less th...Posted in Macros
-   Topics
-   Views
- skeletrooper
Oct 10, 2007