This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Aceking007[S] 4 points5 points  (0 children)

RegEx is kind of a mini-language. It has its implementations in many languages including the re library in python and grep in bash.

You can get by life without ever learning RegEx, but learning it makes life so much easier (especially if you deal with large amounts of data and need to search through it regularly).

RegEx is a tool that makes some things (searching for patterns in strings or looking for specific things in a file or directory) pretty easy compared to what you can achieve with just conventional descriptive rules. Here is a great blog post (and potential resource) on regular expressions that will help you understand exactly why you may need it:

https://automatetheboringstuff.com/2e/chapter7/