Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-01-2006, 07:08 AM   #1
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Rep: Reputation: 15
TextPad-like text editor with regex for linux?

I just love textpad for windows and was wondering if there are any graphical text editors like textpad with the possibility for running search and replace with regex enabled, for linux? or what is popular for editing with regular expressions? i tried looking at emacs, but couldn't figure out how to search and replace with regex...
Old 02-01-2006, 07:21 AM   #2
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Try vim, or gvim if you want a pretty GTK2 interface. Regex functions are built in and it has a *lot* of other neat functions.

Old 02-01-2006, 07:21 AM   #3
Senior Member
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
Originally Posted by nickleus
i tried looking at emacs, but couldn't figure out how to search and replace with regex...
emacs will do this.......just "read the fine manual"......emacs has very extensive documentation
Old 02-01-2006, 07:40 AM   #4
Registered: Mar 2003
Location: Berkshire, England.
Distribution: SuSE 10.0
Posts: 299

Rep: Reputation: 32
If you're using KDE as your desktop, try the Kate editor -- it allows regexs in search+replace, and does pretty much everything else I've ever wanted from a text editor. (Textpad users should feel right at home)
Old 02-01-2006, 08:08 AM   #5
Registered: Nov 2004
Location: Noreg
Distribution: ubuntu
Posts: 107

Original Poster
Rep: Reputation: 15
Forgot to mention i'm using gnome. will kate not work in gnome? after searching on google i also saw that maybe wine+textpad might work.... didn't even think of that. i'll try reading the documentation for those other programs again.. thanks for the replies guys =) keep 'em coming if someone knows of anything else..
Old 10-19-2010, 12:39 PM   #6
LQ Newbie
Registered: Sep 2009
Posts: 3

Rep: Reputation: 1
Textpad for linux

I'm going to piss off a lot of people but here goes.

You can use Textpad from a Windows client to edit all of your Linux files via
a root session through WinSCP. Just configure WinSCP to leave file ownership
and chmod settings alone and you're set.

Alternately, you can use sshfs or samba to mount whatever
you'd like to edit (yes, I recommend even mounting / as
a Samba share if you and the Linux server happen to be
on the same subnet behind a firewall)

Just make sure that whatever you use to connect in
does not change your file ownership and permissions.

I realize this advice would give a sysadmin/security expert an aneurysm but
we're talking about getting stuff done not about security...

There's no reason not to use Textpad if that is what you know best...

If I know Textpad the best, I would learn only the minimally necessary
vi edit commands just enough to get by in vi just in case I'm at a Linux
console and I'm forced to edit files in an emergency.

Basically, my advice is to use whatever editor you know best
on whatever client you happen to use (Textpad on Windows,
Textmate on OSX, vim or emacs on Linux).

The time it takes you to map your mind to another editor and
the dual command confusion it leads to are not worth the effort.

If you are just starting out and trying to learn your first
programmer's editor learn either vim or emacs on Linux or
cygwin, Textpad on Windows or Textmate on OSX.

Either way, learn one text editor well and use that one
to it's full potential throughout your career.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
new to linux : x window text editor mariogarcia Linux - Newbie 6 09-26-2005 01:56 PM
RegEx Supported Text Editor - Perl Flavor germicide Linux - Software 1 10-05-2004 03:02 PM
Perl Regex Help -- Readin In Text Files smaida Programming 1 04-04-2004 11:27 PM
best text editor for linux ryancw Linux - Newbie 1 09-01-2003 01:32 PM
Linux Text Editor chosmer Linux - Newbie 2 02-25-2002 09:31 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration