Text processing with Ruby : extract value from the data that surrounds you Whatever you want to do with text Ruby is up to the job. Most information in the world is in text format and you need to make sense of the data hiding within. You want to do this efficiently avoiding labor intensive manual work. Text Processing with Ruby takes a practical approach to working with text. First Acquire: Explore Rubys core and standard library and extract text into your Ruby programs. Process delimited files and web pages and write utilities. Second Transform: Use regular expressions write a parser and use Natural Language Processing techniques. Finally Load: Write the transformed text and data to standard output files and other processes. Serialize text into JSON XML and CVS and use ERB to create more complex formats. Youll soon be able to tackle even the most enormous and entangled text with ease. Extract: Acquiring Text Reading from Files Processing Standard Input Shell One liners Flexible Filters with ARGF Delimited Data Scraping HTML Encodings Transform: Modifying and Manipulating Text Regular Expressions Basics Extraction and Substitution with Regular Expressions Writing Parsers Natural Language Processing Load: Writing Text Standard Output and Standard Error Writing to Other Processes and to Files Serialization and Structure: JSON XML CSV Templating output with ERB Appendices A Shell Primer Useful Shell Commands