- Posted by
- Hmmm.. I just tried again to search for %*/^p and it picked up every line. Not sure why this didn't work before. I basically did a find that line, and replace it with some odd text combination, and then did a find the off text combo, and replace it with blank to delete it. Looks like it worked :)Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Merlin
Jun 23, 2006
- That works for a starting phrase, but I need something that will look at the last character and then if it is != to a forwardslash, then delete the line. For the example file: abc/abc/abc/ abc/abc/abc/filename.txt The code you posted does not flag either line as one that contains a forwardslash. I t...Posted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Merlin
Jun 22, 2006
- I have a huge list of lines and need to keep only the lines that have a trailing forwardslash / Also, what would be the code to remove all lines that contain a trailing forward slash? Example: abc/abc/abc/ ***has trailing forwardslash abc/abc/abc/filename.txt ***does not have trailing forwardslashPosted in Find/Replace/Regular Expressions
-   Topics
-   Views
- Merlin
Jun 22, 2006
-   Topics
-   Views
- Merlin
Sep 15, 2005
- I just tried the macro on the sample I gave, and it shot back an error saying that it could not be found. I had this text: Key Name: HKEY_CURRENT_USER\Software\VB and VBA Program Settings\V3-R\Recorded Class Name: <NO CLASS> Last Write Time: 9/11/2005 - 6:12 PM Value 0 Name: Something Type: REG_SZ D...Posted in Macros
-   Topics
-   Views
- Merlin
Sep 14, 2005
- Ah. I ran the macro code on the text I pasted originally, and it almost works without the spaces. The "Value 0 Value 1" etc still appear within the code. Once that is fixed, I basically just need to insert some spaces before name and before the units qualifier?Posted in Macros
-   Topics
-   Views
- Merlin
Sep 14, 2005
- Hey, when I try it, it automatically says search string not found... Here is the actual output of the txt file > Key Name: HKEY_CURRENT_USER\Software\VB and VBA Program Settings\V3-R\Recorded Class Name: <NO CLASS> Last Write Time: 9/11/2005 - 6:12 PM Value 0 Name: Something Type: REG_SZ Data: 192.1...Posted in Macros
-   Topics
-   Views
- Merlin
Sep 12, 2005
- I am exporting certain parts of my registry into a .txt file. The output looks something like so: Key Name: HKEY_CURRENT_USER\XXXXX\\Recorded Class Name: <NO CLASS> Last Write Time: 9/11/2005 - 6:12 PM Value 0 Name: Something Type: Useless information Data: 192.168.1.1 Value 1 Name: Something else T...Posted in Macros
-   Topics
-   Views
- Merlin
Sep 12, 2005
- Mofi, that works great! I moved this: SelectLine Find """ Replace All SelectText "" EndSelect Below the RegExp so that the first line would not contain a beginning/ending " One more question... :) At the end of my file, I have a bunch of the following: "";"";"";"";"";"";"";"";"";"";"";"";"";"";"";""...Posted in Macros
-   Topics
-   Views
- Merlin
Aug 26, 2005
- I've been using UE for a few years now, I love it, but I haven't taken it to the next step, or even used its fullest potential. I have a file that needs to be changed, and so I figured I could create a macro for this. Here is the logic: ------------------------- Find , Replace with ";" Goto line 1 F...Posted in Macros
-   Topics
-   Views
- Merlin
Aug 26, 2005
- Sorry about that. I didn't realize that it cut all of the spaces out of it basically. Also, there is 1 CRLF at the end of each file. That needs to be there in order for our system to work properly. That can not be padded out, otherwise, to will be seen as a blank record. Thanks again for your help. ...Posted in Macros
-   Topics
-   Views
- Merlin
Jun 22, 2005
- BEFORE: #999XXXX XXXX XXXX XX XXXX 99999999 9999 99999 XX99999999999999 XXXX99999999XX 99999999XXXXXXXXXXXXXXXXXXXXXXXXXX 99999 99 XXX9999999XXXX XXXXX XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX99XXXXXX9999X X XXXXXXXXXXXXXXXXXXXXXXX 9999999999 XXXXXXXXX XXXXXXXXXXXXXX XXXXXXXXXXXXXXXXXXXXXXXXXX 99 ...Posted in Macros
-   Topics
-   Views
- Merlin
Jun 20, 2005