JavaScript Regular Expressions(PACKT,2015)

时间:2018-08-31 17:25:28
【文件属性】:

文件名称:JavaScript Regular Expressions(PACKT,2015)

文件大小:4.13MB

文件格式:PDF

更新时间:2018-08-31 17:25:28

JavaScript Regular Expression REGEX

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.


网友评论