DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Text search & replace via system shell menu (using preconfigured profiles)  (Read 5,003 times)

nosh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,441
I frequently remove hearing impaired tags from subtitle files, so regex support is essential.

I currently have to load the subtitle file in my text editor and
replace \[.*?\] with "" (blank)
replace \(.*?\) with ""
save + exit

The process could be a lot quicker (2-3 clicks) if I could add these two search and replace commands to a batch profile that shows up in the system context menu.

Any utility that supports this?

Ath

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 3,649
    • Participated in NANY Challenge Eleven Times
    • Coding Snacks
    • Linux User
    • Hardware Hacker
Would sed for Windows be usable?
/Ton
Ath's software collection, Quote: "A problem well stated is a problem half-solved." (Charles Kettering)

nosh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,441
Thanks. It looks powerful enough to get the job done but would take some doing & would need to be manually integrated into the context menu. I'm hoping there's something with a GUI out there.

anandcoral

  • Honorary Member
  • Joined in 2009
  • **
  • Posts: 802
    • Participated in NANY Challenge Thirteen Times
@nosh,

TextCrawler free http://www.digitalvolcano.co.uk/content/textcrawler/, is indispensable for me for search replace in my codes (text files).

Though it do not have the context menu option, as you require, you can save the regular expressions and re-use them. Also the last folder / files are auto saved in drop down list.

Regards,

Anand

nosh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,441
Thanks, Anand.

Original address: https://www.donationcoder.com/forum/index.php?topic=28688.0