Project done during Full Stack Software Engineering studies at Alx School. It aims to learn about how to build a regular expression.
Read or watch:
- Regular expressions - basics
- Regular expressions - advanced
- Rubular is your best friend
- Use a regular expression against a problem: now you have 2 problems
- Learn Regular Expressions with simple, interactive exercises
- Scripts written in Bash 4.3.11(1)
- Tested on Ubuntu 14.04 LTS
Filename | Description |
---|---|
0-simply_match_school.rb |
A regular expression that matches School |
1-repetition_token_0.rb |
A regular expression that matches hbttn |
2-repetition_token_1.rb |
A regular expression that matches htn and hbtn |
3-repetition_token_2.rb |
A regular expression that matches hbtn , where the letter t can be replied |
4-repetition_token_3.rb |
A regular expression that matches hbtn with or without t |
5-beginning_and_end.rb |
A regular expression that matches with a word that starts with h and ends with n |
6-phone_number.rb |
A regular expression that match with 10 digit phone number |
7-OMG_WHY_ARE_YOU_SHOUTING.rb |
A regular expression that only matches capital letters |
100-textme.rb |
Filters information of a log file |