LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Learning regular expressions (https://www.linuxquestions.org/questions/linux-newbie-8/learning-regular-expressions-4175493663/)

validator456 02-04-2014 05:42 AM

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.

zhjim 02-04-2014 05:56 AM

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

ganey 02-04-2014 06:29 AM

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


All times are GMT -5. The time now is 09:31 PM.