Leverage the power of regular expressions to create an engaging user experience
ABOUT THIS BOOK
* 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
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
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
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
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
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.
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.
Regular Expressions for Perl, Ruby, PHP, Python, C, Java and .NET