Anyone use Notepad ++

13 replies
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
#notepad
  • Profile picture of the author Shannon Herod
    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
    {{ DiscussionBoard.errors[2821917].message }}
  • Profile picture of the author SirHarrrison
    Originally Posted by Michael Patterson View Post

    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
    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.
    Signature

    "This is what happens when an unstoppable force meets an immovable object."

    Thank you,
    Harrison

    {{ DiscussionBoard.errors[2821939].message }}
    • Profile picture of the author Shannon Herod
      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
      {{ DiscussionBoard.errors[2821952].message }}
    • Profile picture of the author michael_gourlay
      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.
      {{ DiscussionBoard.errors[2821975].message }}
      • Profile picture of the author Tyrus Antas
        Originally Posted by michael_gourlay View Post


        Find what: ^(.*)$
        Replace with: <a href="1">1</a>
        Awesome, it does work. On a side note, Google
        has just showed me a graphical ad for a regular
        expression tool... Creepy.

        Tyrus
        {{ DiscussionBoard.errors[2822007].message }}
  • Profile picture of the author Tyrus Antas
    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
    {{ DiscussionBoard.errors[2821970].message }}
  • Profile picture of the author robbluther
    You could try a find and replace...

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

    Then Find
    Signature

    robb luther
    seo guy
    www.geekepic.com

    {{ DiscussionBoard.errors[2822044].message }}
  • Profile picture of the author Michael Patterson
    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 ?
    {{ DiscussionBoard.errors[2822053].message }}
    • Profile picture of the author robbluther
      Originally Posted by Michael Patterson View Post

      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 ?
      Try using \1
      Signature

      robb luther
      seo guy
      www.geekepic.com

      {{ DiscussionBoard.errors[2822067].message }}
    • Profile picture of the author michael_gourlay
      Originally Posted by Michael Patterson View Post

      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
      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.
      {{ DiscussionBoard.errors[2822416].message }}
  • Profile picture of the author sylviad
    Originally Posted by Michael Patterson View Post

    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
    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
    Signature
    :: Got a dog? Visit my blog. Dog Talk Weekly
    :: Writing, Audio Transcription Services? - Award-winning Journalist is taking new projects. Warrior Discounts!
    {{ DiscussionBoard.errors[2822063].message }}
  • Profile picture of the author rikkib51
    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.
    Signature
    Simple Quoting, Client Management & Invoicing Tool In One

    www.inv.nz

    {{ DiscussionBoard.errors[2822300].message }}

Trending Topics