Searching with grep in Ruby

Ruby offers a wide variety of options when it comes to searching through strings. In this chapter, you'll learn how to use the powerful grep method in Ruby programs to search through data. Additionally, you'll be able to:

  • Demonstrate how to implement the grep method in order to match designated patterns in a string
  • Show how to combine regular expressions with grep to find values
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.142.54.239