LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2014, 06:42 AM   #1
validator456
Member
 
Registered: Apr 2013
Location: Rotterdam, The Netherlands
Distribution: Crunchbang Linux
Posts: 135

Rep: Reputation: Disabled
Learning regular expressions


I have discovered Regular Expressions in LibreOffice (Search and Replace) and I have found it very useful. I have a few questions on RegEx. What is the best way to learn it? Is regex for libreoffice the same as in the grep command? Is regex in the grep-command the same as in the sed-command?

As you probably can guess from my questions, I don't have much experience with this, so be lenient please.
 
Old 02-04-2014, 06:56 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Those to gave me a good learning experience.

This ones a primar and very good to get ones feet wet. You will also find some more complex stuff.
http://regexone.com/

Every little thing one needs to know about regex. Also I sometimes found it hard to follow along. Kinda bloated on some topics.
http://www.regular-expressions.info/tutorial.html
 
Old 02-04-2014, 07:29 AM   #3
ganey
LQ Newbie
 
Registered: Feb 2012
Location: UK
Distribution: Win7 / CentOS
Posts: 5

Rep: Reputation: Disabled
I used to use http://www.regexr.com/ for building / testing with bulks of text.

There will be slight variations, but in general regex follows between languages and applications
 
  


Reply


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
regular expressions schmitta Linux - Newbie 350 08-05-2016 06:51 AM
[SOLVED] Learning RegEx? Regular Expressions davejjj Programming 5 11-08-2011 04:20 PM
Regular Expressions Wim Sturkenboom Programming 10 11-19-2009 02:21 AM
help with regular expressions mariogarcia Linux - Software 3 01-28-2009 04:23 AM
Regular Expressions ziggy25 Linux - Newbie 7 11-05-2007 07:57 AM


All times are GMT -5. The time now is 06:43 PM.

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