-2
votes
1answer
20 views

Inserting line before lines containing a particular word

How to insert a line before a line ending with a certain word in textpad? For eg: I want to insert a blank line before every line that ends with the word 'Chapter'
1
vote
2answers
304 views

Regular expression to replace in TextPad

I need to replace this: HSOD,BASE,DFLT,001,06-19-2012,[any string],1,0,0 With this: HSOD,BASE,DFLT,001,06-19-2012,[any string],1,0,N where the [any string] part needs to be a wild card.
3
votes
2answers
4k views

Export all regular expression matches in Textpad or Notepad++ as a list

In Textpad or Notepad++ is there an option to export all the matches for a regular expression find, as a single list? In a big text file, I am searching for tags (words enclosed in % %), using ...
1
vote
1answer
2k views

Regular expression replace in Textpad where search term spans multiple lines

Is it possible to do a regular expression search and replace in Textpad where the search term spans multiple lines. e.g. document contains: Hello ab_c D_EF 12_3 World I would like to replace ...
4
votes
2answers
9k views

regex replace with textpad

I need to update a dateformat in a large file I have in textpad. the dateformat is currently mm-dd-yyyy and I need to make it mm/dd/yyyy each line with a date starts with a D. like this: ...