Upload
liahhansen
View
975
Download
0
Embed Size (px)
Citation preview
2. Regular Expressions
/regex will find me/
3. What are Regular Expressions
Regular expressions allow matching and manipulation of textual
data.
Abbreviated as regex or regexp, or alternatively, just
patterns
4. What are Regular Expressions For?
Scan a string for multiple occurrences of a pattern.
Replace part of a string with another string.
Split a string based on a matching separator.
5. Regular Expressions in Ruby
6. They are escaped with a backward slash ().