Advertisement
Advertisement

More Related Content

Advertisement

Recently uploaded(20)

Advertisement

The Power of Regular Expression: use in notepad++

  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. Remove numbers from the list of 1000 rows of names
  3. Choose “Replace” from “Search” menu
  4. You will get a replace dialog box.
  5. Type [0-9]* (.*) in find what box, in replace with box. Note: There’s a space between [0-9]* and (.*).
  6. Check Regular Expression checkbox to exploit regex functionality.
  7. Hurray! Done.
  8. Now you have to swap numbers and names, but separated by comma.
  9. Type ( [0-9]*) (.*) in find what box, , in replace with box.
  10. Replaced!
  11. Now you have to remove numbers, put last-name first, followed by first-name, and separated by comma.
  12. Type ( [0-9]*) ([^ ]*) (.*) in find what box, , in replace with box.
  13. Replaced!
Advertisement