Regexp seems great but how do I output the result?
March 31, 2008 8:28 AM
Subscribe
I have a found out a regular expression that searches for a specific bit of text i want to extract from a html document (product names) in notepad++. Now i want to put all the matches of my expression in a new file. Can this be done?
I tried using the macro recorder but didnt manage to find a solutions since it always go back to the first match. I also tried cygwin grep but never got it to work (I typed "grep 'expression' file" but it returned the whole lines, not only the match).
I also have excel if it will help.
posted by ilike to computers & internet (3 comments total)
-o, --only-matching
Show only the part of a matching line that matches PATTERN.
posted by tallus at 8:58 AM on March 31, 2008