Home | Blog | Software | Reviews and Features | Forum | Help | Donate | About us
topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • December 07, 2016, 08:25:00 AM
  • Proudly celebrating 10 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 1450 times)

nosh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,426
    • 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: 2,780
    • View Profile
    • Donate to Member
Re: Text search & replace via system shell menu (using preconfigured profiles)
« Reply #1 on: November 16, 2011, 01:54:12 AM »
Would sed for Windows be usable?

nosh

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 1,426
    • View Profile
    • Donate to Member
Re: Text search & replace via system shell menu (using preconfigured profiles)
« Reply #2 on: November 16, 2011, 04:08:51 AM »
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: 408
    • View Profile
    • App, to help you : Overlap Wallpaper, Park Cursor Aside, Stick A Note, Merge CSV and Text and many more.
    • Donate to Member
Re: Text search & replace via system shell menu (using preconfigured profiles)
« Reply #3 on: November 16, 2011, 10:38:58 AM »
@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,426
    • View Profile
    • Donate to Member
Re: Text search & replace via system shell menu (using preconfigured profiles)
« Reply #4 on: November 17, 2011, 02:26:56 AM »
Thanks, Anand.