Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

The Power of Regular Expression: use in notepad++

255.940 Aufrufe

Veröffentlicht am

Veröffentlicht in: Technologie, Business
  • Could you use an extra $1750 a week? I'm guessing you could right? If you would like to see how you could make this type of money, right from the comfort of your own home, you absolutely need to check out this short free video. ➤➤ http://t.cn/AisJWUCf
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • Dating direct: ❶❶❶ http://bit.ly/2F90ZZC ❶❶❶
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • Dating for everyone is here: ♥♥♥ http://bit.ly/2F90ZZC ♥♥♥
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m77EgH } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m77EgH } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... ,DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ,DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/yyxo9sk7 } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Antworten 
    Sind Sie sicher, dass Sie …  Ja  Nein
    Ihre Nachricht erscheint hier

The Power of Regular Expression: use in notepad++

  1. 1. A look at the power of Regular Expressions for the layman Use in Notepad++ Anjesh Tuladhar http://anjesh.blogspot.com http://just-tech.blogspot.com
  2. 2. Alert <ul><li>Don’t expect to master regular expressions (regex) in this short presentation. </li></ul><ul><ul><li>This shows how you can exploit regex to make your work a breeze </li></ul></ul><ul><ul><li>It takes a lot of time and hard work to learn regex </li></ul></ul><ul><li>You don’t have to be a programmer to master regular expressions, though being a programmer is definitely a plus point </li></ul>
  3. 3. Remove numbers from the list of 1000 rows of names
  4. 4. Choose “Replace” from “Search” menu
  5. 5. You will get a replace dialog box.
  6. 6. Type [0-9]* (.*) in find what box, 1 in replace with box. Note: There’s a space between [0-9]* and (.*).
  7. 7. Check Regular Expression checkbox to exploit regex functionality.
  8. 8. Hurray! Done.
  9. 9. A short explanation <ul><li>[0-9]* will match numbers only </li></ul><ul><ul><li>In our case it matches numbers only </li></ul></ul><ul><li>.* will match any characters, including numbers till the end of the line </li></ul><ul><ul><li>Use of the curve brackets will act as a memory </li></ul></ul><ul><ul><li>Enclosing .* with brackets like (.*) will allow to access it using 1 (see in the replace box) </li></ul></ul><ul><li>The space between [0-9]* and (.*) represents the actual space between numbers and the names in the list </li></ul>
  10. 10. Now you have to swap numbers and names, but separated by comma.
  11. 11. Type ( [0-9]*) (.*) in find what box, 2,1 in replace with box.
  12. 12. Replaced!
  13. 13. A short explanation <ul><li>See previous explanation for [0-9]* and (.*) </li></ul><ul><li>Now enclosing [0-9]* with curve brackets will allow to access it </li></ul><ul><li>First curve bracket can be accessed using 1 and second can be accessed using 2 </li></ul><ul><ul><li>Hence we are swapping the position of names and numbers </li></ul></ul>
  14. 14. Now you have to remove numbers, put last-name first, followed by first-name, and separated by comma.
  15. 15. Type ( [0-9]*) ([^ ]*) (.*) in find what box, 3,2 in replace with box.
  16. 16. Replaced!
  17. 17. A short explanation <ul><li>[0-9]* will match numbers only </li></ul><ul><li>[^ ]* will match anything from the current position till it finds space, which in our case will match the first-names only </li></ul><ul><li>.* will match any character from the current position till the end of the line </li></ul><ul><li>Now [0-9]* is accessed using 1, [^ ]* is accessed using 2 and .* is access using 3, since all of those expressions are enclosed with curve brackets </li></ul>
  18. 18. The beginning <ul><li>Make today </li></ul><ul><li>a noble beginning </li></ul><ul><li>with The Regular Expressions </li></ul>

×