Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #8541
    TransUA
    Participant

    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

    #8546
    Yutaka Emura
    Keymaster

    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,

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.