For this post we have to say “Thank you!” to shaalool for creating this nice tutorials and shared them on YouTube (btw he really does a good job and for sure we will come with more of his php tutorials).
Now, about regular expressions. What they are? How do they help us? How to use them? This is what you’ll learn from this series of tutorials. Regular expressions can help us very much if we have to find different portions of string in a bigger context. If we have a pattern for those string than we can make a regular expression that we will use in our search.
Lets say you want to take all the names in a html table that has thousands of rows with names and push them into an array for later use. You would have to strip it and trim it and a lot of methods to take the html code out. If we would use a regular expression than all we have to find is only the pattern that we have to use.
All this will be explained in this video tutorials.
1st part (introducing regular expressions):
2nd part (introducing regular expressions):
3rd part (more about regular expressions):
4th part (more about regular expressions):
5th part (Replacing Text Using Regular Expressions):