topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 16, 2024, 12:20 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

nosh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,441
    • View Profile
    • Donate to Member
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,612
    • View Profile
    • Donate to Member
Would sed for Windows be usable?

nosh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,441
    • View Profile
    • Donate to Member
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: 777
    • View Profile
    • Free Portable Apps
    • Donate to Member
@nosh,

TextCrawler free http://www.digitalvo...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
    • View Profile
    • Donate to Member
Thanks, Anand.