EmEditor (text editor) Forum Index Enhancement Suggestions about Macros
List of IP addresses. Help! | Register To Post |
| Threaded | Newest First | Previous Topic | Next Topic | Bottom |
| Poster | Thread |
|---|---|
| TransUA | Posted on: 5/26/2010 2:20 pm |
Just popping in ![]() ![]() Joined: 11/12/2009 From: Posts: 1 |
List of IP addresses. Help! There are random IP ranges, for example (the numbers can vary):
1) 120.60.12.0-140.60.12.231 or 2) 140.43.12.0-140.43.241.160 or 3) 10.23.12.0-10.160.155.202 Need to make such lists: 1) no change 2) 140.43.12.0-140.43.12.255 140.43.13.0-140.43.13.255 ... 140.43.241.0-140.43.241.160 3) 10.23.12.0-10.23.12.255 10.23.13.0-10.23.13.255 ... 10.160.155.0-10.160.155.202 For example: 109.237.16.0-109.237.31.255 109.238.128.128-109.238.128.103 109.238.129.128-109.238.131.210 109.238.133.0-109.238.234.255 81.19.176.0-81.19.223.255 81.19.48.0-81.19.63.255 81.2.64.0-81.3.127.255 81.21.0.0-81.21.15.255 81.20.184.0-81.20.184.255 95.172.0.0-95.172.31.255 95.172.224.0-95.172.255.255 95.172.65.0-95.172.68.143 95.172.68.160-95.172.68.207 |
| Yutaka | Posted on: 5/27/2010 8:51 pm |
Webmaster ![]() ![]() Joined: 9/28/2006 From: Redmond Posts: 2423 |
Re: List of IP addresses. Help! Hello TransUA,
You can write a macro to do this editing, but it is not very easy. You will need to write several lines of JavaScript code that manipulates strings and make loop to write manipulated strings. Please let me know if you have specific questions about macros. Thank you,
|
| Threaded | Newest First | Previous Topic | Next Topic | Top |
| Register To Post | |




