Anyone use Notepad ++

by Banned 13 replies
16
Hi I am new to using Notepad ++ and was wondering how I can take a list of url's in plain text and make them all hyperlinked for importing into a blog to make them clickable....anyone care to share how to go about doing this?

Thanks,

Mike
#main internet marketing discussion forum #notepad
  • Wow. That sounds like a cool little tool. I have never used it so I can not help you out but it sounds like it could be a real time saver for certain tasks.

    Shannon
  • Curious.... Is it a free tool? Can you post a link?

    On another note, I use excel for these types of thing. ctrl + left click takes care of the problem your having in excel.
    • [2] replies
    • It is a free tool I do believe. I am sitting infront of the new xbox Kinect for xbox 360 that I just bought for my son. So I am to preoccupied to get the link :-)

      Shannon
    • From what I understand, you have a list, one url on each line.

      Click Search / Replace, or do Control + H.

      Find what: ^(.*)$
      Replace with: <a href="\1">\1</a>

      Search mode should be "Regular Expression".

      Click Replace all.

      This will update each line with html code to make the url clickable. You can insert this on the "HTML" tab in your wordpress editor.

      Let me know if this is what you are looking for. If you have the urls in a different format (ie comma separated or something) I can update the regular expression.
      • [ 3 ] Thanks
      • [1] reply
  • Spent the last 10 minutes trying to figure out a
    way to do it and no luck. Regular expression
    search and replace wouldn't work either.

    I use notepad++ for my html and javascript editing
    needs.

    Tyrus
  • You could try a find and replace...

    Find: www.(.*).com
    Replace: <a href="http://www.\1.com">\1</a>

    Then Find
  • Banned
    Hi Michael,

    Thanks and that is what I am looking for but it says the regular expression is formated badly when I click replace all?...I have copied and pasted your strings exactly as you have them above...thanks


    If you are looking for notepad ++ just enter that into google and it will be the first one to pop up..."notepad ++" or maybe its just www.notepad++.com ?
    • [2] replies
    • Try using \1
    • Make sure you aren't entering anything else in the boxes.

      For some reason things may not be showing up right from my post. In the "Find What" box, you need to do the following characters ^ ( . * ) $, but without spaces.

      In the replace with, make sure the 1s have a backslash in front of them.
  • It depends what you want in the active link - just a link to a page, or anchor text.

    Someone alread showed you how to make them all clickable, using href.

    For anchor text, enter it like this:
    <a href="www.yourdomain.com">anchor text</a>

    For a direct site link, enter it like this:
    <a href="www.nextdomain.com">www.nextdomain.com</a>

    When you enter it into your blog, go to the HTML editor, rather than the visual editor. If you put it in the visual editor, it'll only show as the actual code, which you don't want.

    Whichever version you choose, it will show only the active anchor text or nextdomain link on your blog.

    Hope this helps.

    Sylvia
  • Hey,

    I don't think you can do this if it's in plain text format. The only way to get those hyperlinked is if you save it as HTML or if you do it on your blog using <a href="LINK">CLICK HERE</a>.


    Recky.

Next Topics on Trending Feed

  • 16

    Hi I am new to using Notepad ++ and was wondering how I can take a list of url's in plain text and make them all hyperlinked for importing into a blog to make them clickable....anyone care to share how to go about doing this? Thanks,