Javascript Regular Expression
cs

Javascript Regular Expression

2006-11-11
JavaScript supports regular expressions. The constructor for a RegExp object takes one or two arguments. The first (or only) argument is the string describing the pattern to match; if there is a second argument, it is a string specifying additional processing instructions. The most basic regular expression is a regular string. For instance, to match the word "cat", you can define the regular expression like this: var reCat = new RegExp("cat"); This regular expression matches only the first...
View more
Comments (3)

Get this podcast on your phone, Free

Create Your Podcast In Minutes

  • Full-featured podcast site
  • Unlimited storage and bandwidth
  • Comprehensive podcast stats
  • Distribute to Apple Podcasts, Spotify, and more
  • Make money with your podcast
Get Started
It is Free