Language Practice1:03 with Alena Holligan
There's more to learn about regular expressions, and each language gives you specific ways to interact with them.
Language Specific Resources
Java: Use them for searching, replacing and validating that text meets certain formats.
PHP supports regular expressions through the use of the PCRE (Perl Compatible Regular Expressions) library which is enabled in almost all PHP installations.
Python: In this course, we'll explore the re module that Python provides and learn to write regular expressions for many different situations.
Swift: Regular expressions are a powerful tool for working with text, but it’s often a mystery how to get use them in Swift.
Excellent work learning a powerful new tool. 0:00 Now that you know about regular expressions, 0:03 I bet you'll use them everywhere. 0:05 Some of the places you'll use them might surprise you. 0:07 For example, most code editors let you use regular expressions to search and 0:10 replace throughout your project. 0:16 Matching alone can be a very powerful tool for searching files and 0:18 validating user input. 0:23 Combine that with the ability to replace what you find and 0:25 you can build even more powerful solutions. 0:28 Reformat user input or entire files. 0:32 Rename multiple files at once, or set up advanced redirects in an HT access file. 0:36 You'll find yourself reaching for regular expressions more and 0:43 more as you use them in your daily practice. 0:46 There's more to learn about regular expressions, and 0:49 each language gives you specific ways to interact with them. 0:51 Check the notes associated with this video for additional resources. 0:55 Go out there and use your superpower for good. 1:00
You need to sign up for Treehouse in order to download course files.Sign up