EmEditor (text editor) Forum Index Regular Expressions
Please help me on RegEX about Find&Replace | Register To Post |
| Flat | Previous Topic | Next Topic |
| Poster | Thread |
|---|---|
| thanksgod | Posted on: 3/10/2012 4:48 am |
Just popping in ![]() ![]() Joined: 2/23/2012 From: Posts: 19 |
Please help me on RegEX about Find&Replace I would like to ask about the Regular Expression please.
FYI, I just started learning RegEX, so I'm really a noob about RegEx for now = =" My question is, for example, I would like to "replace" all the characters (words) when it finds the MATCHED "characters" or "words" in the following, but I don't know what RegEx I should use 363UUID:2126A5D926 IKYUUID :FC1012AA09545 KYDKYEUUID :2CC2F29D54D7849( I use Find "UUID:.........." <=== I use "." for ten times Replace "my words" However, It's only replace like the following 363my words IKYmy words545 KYDKYEmy wordsD7849( But that's not what I want because it's only replace the ten "characters" only I want to replace all the "characters" which doesn't matter how many left on that line, But I want to replace them all SINCE it finds the MATCHED "characters" or "words" and the result I want should be like the following. 363my words IKYmy words KYDKYEmy words As you can see, It was my bad using "." RegEx for "ten dots", but I can use "twenty dots" in this case to make it works However, ASSUME I don't know What is the Highest number of dots I should use as if there are thousand of lines, and each line doesn't have the same number of characters. FYI, I can just use ....................................... as much as I want, However, if in that documents only has "LESS" characters for each line than the "dots" RegEX I used, the program will do NOTHING, and give me "Error BEEP (sound)" So can you give me the Correct (EASY) RegEx I could use please Thank you so much if anyone can help me out for this. |
| Flat | Previous Topic | Next Topic |
| Subject | Poster | Date |
|---|---|---|
| » |
thanksgod | 3/10/2012 4:48 am |
| |
thanksgod | 3/10/2012 5:14 am |
| |
ToadLoadin | 3/10/2012 9:34 pm |
| |
thanksgod | 3/16/2012 6:18 am |
| |
ToadLoadin | 3/10/2012 8:47 pm |
| Register To Post | |


