Viewing 1 post (of 1 total)
  • Author
    Posts
  • #8826
    wgf4242
    Participant

    selection

    http://1
    http://2

    macro

    str = document.selection.Text;
    str = str.replace(/^/gm,"123");
    alert(str);

    But the result is


    123http://1
    123
    123http://2

    I think the correct result is


    123http://1
    123http://2
Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.