Books: 6

RegEx

CoverTitleYear
Leverage the power of regular expressions to create an engaging user experience
ABOUT THIS BOOK * Build and use patterns in JavaScript to solve real-world problems * Simplify complex validation processes by mastering the pattern language in Regex * A step-by-step guide along with a lot of real-world examples to manipulate text and crunch data, in URLs, paths, markup, and so on WHO more » THIS BOOK IS FOR This book is ideal for JavaScript developers and programmers who work with any type of user entry data and want sharpen their skills to become experts. WHAT YOU WILL LEARN * Structure your patterns and model different types of constraints * Clean and optimize code with Regex's processing power * Solve common use cases and situations * Extract different types of fields correctly * Embed regular expressions both in your UI and on the backend * Efficiently create guard clauses in your functions using patterns * Create blank capture groups to handle inconsistent data * Capture parts of a pattern in a group to display, replace, or use character sets to match characters IN DETAIL Regular expressions are patterns or templates that allow you to define a set of rules in a natural yet vague way, giving you the ability to match and validate text. Therefore, they have been implemented in nearly every modern programming language. JavaScript's implementation allows us to perform complex tasks with a few lines of code using regular expressions to match and extract data out of text. This book starts by exploring what a pattern actually is and how regular expressions express these patterns to match and manipulate user data. You then move on to learning about the use of character classes to define a wild character match, a digit match, and an alphanumeric match. You will then learn to manipulate text and shorten data in URLs, paths, markup, and data exchange, as well as other advanced Regex features. Finally, you will work through real-world examples, both in the browser and on the server side using Node.js. « less
2015
Language Syntax, Arrays, Data Types, Objects, and Regular Expressions
Beginning Java 8 Fundamentals provides a comprehensive approach to learning the Java programming language, especially the object-oriented fundamentals necessary at all levels of Java development. Author Kishori Sharan provides over 90 diagrams and 240 complete programs to help beginners and intermediate more » level programmers learn the topics faster. Starting with basic programming concepts, the author walks you through writing your first Java program step-by-step. Armed with that practical experience, you'll be ready to learn the core of the Java language. « less
2014
Leverage regular expressions in Python even for the most complex features
Regular expressions are used by many text editors, utilities, and programming languages to search and manipulate text based on patterns. They are considered the Swiss army knife of text processing. Powerful search, replacement, extraction and validation of strings, repetitive and complex tasks are reduced more » to a simple pattern using regular expressions. Mastering Python Regular Expressions will teach you about Regular Expressions, starting from the basics, irrespective of the language being used, and then it will show you how to use them in Python. You will learn the finer details of what Python supports and how to do it, and the differences between Python 2.x and Python 3.x. « less
2014
Unraveling regular expressions, step-by-step
If you're a programmer new to regular expressions, this easy-to-follow guide is a great place to start. You'll learn the fundamentals step-by-step with the help of numerous examples, discovering first-hand how to match, extract, and transform text by matching specific words, characters, and patterns. Regular more » expressions are an essential part of a programmer's toolkit, available in various Unix utlilities as well as programming languages such as Perl, Java, JavaScript, and C#. When you've finished this book, you'll be familiar with the most commonly used syntax in regular expressions, and you'll understand how using them will save you considerable time. « less
2012
Detailed Solutions in Eight Programming Languages
Take the guesswork out of using regular expressions. With more than 140 practical recipes, this cookbook provides everything you need to solve a wide range of real-world problems. Novices will learn basic skills and tools, and programmers and experienced users will find a wealth of detail. Each recipe more » provides samples you can use right away. This revised edition covers the regular expression flavors used by C#, Java, JavaScript, Perl, PHP, Python, Ruby, and VB.NET. You'll learn powerful new tricks, avoid flavor-specific gotchas, and save valuable time with this huge library of practical solutions. « less
2012
Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET
This handy little book offers programmers a complete overview of the syntax and semantics of regular expressions that are at the heart of every text-processing application. Ideal as a quick reference, Regular Expression Pocket Reference covers the regular expression APIs for Perl 5.8, Ruby (including more » some upcoming 1.9 features), Java, PHP, .NET and C#, Python, vi, JavaScript, and the PCRE regular expression libraries. « less
2007