- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The regex applies to the fine what.
But suppose I wish to replace with more than one line?
How to use fine/replace to replace for example,
ONE
with
ONE
TWO
THREE
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello John,
You can use Notepad++ in order to replace one word or line with more than one line.
In order to do his the steps are as follows:
1. Open the file where you want to make the changes using Notepad++. In case you want to make the changes in an entire document open Notepad++ and press Ctrl + F. There under the find in files tab give appropriate directory for the document.
2. In the Find What box, write the mane of the word you want to replace (#define ONE in this case)
3. Make sure the Search mode is set to Extended
4. In the replace with box type the text that you want the word to be replaced. Make sure to separate the words that you want in separate line are separated by \n (ONE\nTWO\nTHREE in this case)
5. Click on replace all.
6. Save the changes made.
When you will open the same file in PSoC Creator the desired changes would have been made.
Best Regards
Ekta
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Trick: Write down your
ONE
TWO
THREE
Mark it, then coy it (ctl-c) and paste it into the replace item (ctl-v)
Bob.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
And if you wish to use find/replace? Instead of wasting time?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You misunderstood me: You should paste it into the replace dialog window !!!
Bob
EDIT: Doesn't work for line break, sorry, no help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tried that first thing
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello John,
You can use Notepad++ in order to replace one word or line with more than one line.
In order to do his the steps are as follows:
1. Open the file where you want to make the changes using Notepad++. In case you want to make the changes in an entire document open Notepad++ and press Ctrl + F. There under the find in files tab give appropriate directory for the document.
2. In the Find What box, write the mane of the word you want to replace (#define ONE in this case)
3. Make sure the Search mode is set to Extended
4. In the replace with box type the text that you want the word to be replaced. Make sure to separate the words that you want in separate line are separated by \n (ONE\nTWO\nTHREE in this case)
5. Click on replace all.
6. Save the changes made.
When you will open the same file in PSoC Creator the desired changes would have been made.
Best Regards
Ekta