Don’t miss it—Apress Access is only $99 for the holiday season! Subscribe now >>

Regex Quick Syntax Reference

Understanding and Using Regular Expressions

Authors: Nagy, Zsolt

  • A compact, handy quick reference to get you started and using regular expressions fast
  • A contemporary guide that takes into account today's challenges from big data and data science
  • Covers front end, backend and IT infrastructure
see more benefits

Buy this book

eBook $19.99
price for USA (gross)
  • ISBN 978-1-4842-3876-9
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $29.99
price for USA
  • ISBN 978-1-4842-3875-2
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
About this book

This quick guide to regular expressions is a condensed code and syntax reference for an important programming technique. It demonstrates regex syntax in a well-organized format that can be used as a handy reference, showing you how to execute regexes in many languages, including JavaScript, Python, Java, and C#.
The Regex Quick Syntax Reference features short, focused code examples that show you how to use regular expressions to validate user input, split strings, parse input, and match patterns. Utilizing regular expressions to deal with search/replace and filtering data for backend coding is also covered. 
You won’t find any bloated samples, drawn out history lessons, or witty stories in this book. What you will find is a language reference that is concise and highly accessible. The book is packed with useful information and is a must-have for any programmer.
What You Will Learn

  • Formulate an expression
  • Work with arbitrary char classes, disjunctions, and operator precedence
  • Execute regular expressions and visualize using finite state machines
  • Deal with modifiers, including greedy and lazy loops 
  • Handle substring extraction from regex using Perl 6 capture groups, capture substrings, and reuse substrings 
Who This Book Is For
If you have dealt with at least one programming language, chances are you know enough to understand regular expressions, and the examples in this book will help you develop proficiency.

About the authors

Zsolt Nagy is a web development team lead, mentor and software engineer living in Berlin, Germany. He programs with JavaScript, Perl and other open source web technologies. Zsolt is also experienced in using and teaching regular expressions using these technologies. He writes a blog about lessons learned while solving complex problems, experimenting with technology and teaching other people on how to improve their skills. As a software engineer, he continuously challenges himself to stick to the highest possible standards.

Table of contents (11 chapters)

Buy this book

eBook $19.99
price for USA (gross)
  • ISBN 978-1-4842-3876-9
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $29.99
price for USA
  • ISBN 978-1-4842-3875-2
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Regex Quick Syntax Reference
Book Subtitle
Understanding and Using Regular Expressions
Authors
Copyright
2018
Publisher
Apress
Copyright Holder
Zsolt Nagy
Distribution Rights
Standard Apress distro
eBook ISBN
978-1-4842-3876-9
DOI
10.1007/978-1-4842-3876-9
Softcover ISBN
978-1-4842-3875-2
Edition Number
1
Number of Pages
XI, 153
Number of Illustrations
20 b/w illustrations
Topics