Abstract
This chapter introduces you to an important feature of JS: regular expression processing. You use this feature to find and replace text matching a given pattern within a given text stream. The chapter first explains regular expressions as defined in JavaScript. It then shows you how to use RegExp in conjunction with string methods. The latter half of the chapter introduces you to the properties and methods of the RegExp object.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2017 Rehan Zaidi
About this chapter
Cite this chapter
Zaidi, R. (2017). Regular Expressions and String Methods. In: JavaScript Essentials for SAP ABAP Developers. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-2220-1_5
Download citation
DOI: https://doi.org/10.1007/978-1-4842-2220-1_5
Published:
Publisher Name: Apress, Berkeley, CA
Print ISBN: 978-1-4842-2219-5
Online ISBN: 978-1-4842-2220-1
eBook Packages: Professional and Applied ComputingProfessional and Applied Computing (R0)Apress Access Books