Skip to main content

Regular Expressions and String Methods

  • Chapter
  • First Online:
JavaScript Essentials for SAP ABAP Developers
  • 1508 Accesses

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 29.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 37.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints 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

Publish with us

Policies and ethics