Regular Expressions

  1. What is a regular expression ? Which text editor are we going to use (Sublime Text) ?

  2. How to look for a number, a sequence of numbers ? (Part 2 )

  3. How to look for a letter, a sequence of letters (word) ? (Part 2 )

  4. What are the main metacharacters in regex ? (Part 2)

  5. How to look for special characters, that are part of regex reserved characters ? Replacing consecutive multiple spaces by one space (Part 3)

  6. How to look for a date in a text document ? an email ? (Part 3 )

  7. How to look for a repeating sequence for an exact number of times ? Counting in regular expressions (Part 3 )

  8. How to look for a moroccan ID number in a document ? (Part 3 )

  9. How many words are there in a document ? (Part 4 )

  10. How to count the number of lines in a document ? (Part 4 )

  11. How to look for a sequence and only replace a part of it ? An introduction to groups and groupping (Part 5 )

  12. How to replace uppercase letters by their lowercase equivalent in Regex ?

  13. How to use regular expressions in Java ? (Part 6 )

  14. How to use regular expressions in the search function in Eclipse ? Some handy patterns for SQL queries, specific file types,...etc (Part 6 )

  15. How to use regular expressions in Python ? (Part 7)

  16. Why is overusing regular expressions in code bad ? The problem of readability (Part 8)

  17. Does google support Regex search ? (Part 8)

  18. Some ressources for regular expressions : https://regex101.com/ (Part 9)

  19. Some ressources for regular expressions (Part 10)