JavaScript

JavaScript Intro

JavaScript Intro Quiz

JavaScript Intro Exercise

JavaScript Basic

JavaScript Basic Quiz

JavaScript Basic Exercise

JavaScript Advance

JavaScript Advance Quiz

JavaScript Advance Exercise

JavaScript ES6

JavaScript ES6 Quiz

JavaScript ES6 Exercise

JavaScript Array Methods and Properties

JavaScript String Methods and Properties

JavaScript Number Methods and Properties

JavaScript Math Properties and Methods

JavaScript Date Methods and Properties

JavaScript Global Methods and Properties

JavaScript RegExp Properties and Methods

JavaScript Class Methods and Keywords

JavaScript Errors, JSON and Booleans

JavaScript Statements

JavaScript Window History Object Properties and Methods

JavaScript Window Location Object Properties and Methods

JavaScript Window Screen Object Properties

JavaScript Window Navigator Object Properties and Methods

JavaScript Window Object Properties and Methods

JavaScript Console Object Methods

JavaScript Geolocation and Storage APIs

JavaScript CSSStyleDeclaration Object Methods and Properties

HTML DOM Documents Object Properties and Methods

DOM HTMLCollection Properties and Methods

HTML DOM Attributes Properties and Methods

HTML DOM Elements Properties and Methods

HTML DOM Style Object Properties

HTML DOM AnimationEvent Properties and Methods

HTML DOM ClipboardEvent Properties and Methods

HTML DOM DragEvent Properties and Methods

HTML DOM FocusEvent Properties and Methods

HTML DOM HashChangeEvent Properties and Methods

HTML DOM InputEvent Properties and Methods

HTML DOM KeyboardEvent Properties and Methods

HTML DOM MouseEvent Properties and Methods

HTML DOM PageTransitionEvent Properties and Methods

HTML DOM ProgressEvent Properties and Methods

HTML DOM StorageEvent Properties and Methods

HTML DOM TransitionEvent Properties and Methods

HTML DOM WheelEvent Properties and Methods

HTML DOM UiEvent Properties and Methods

HTML DOM TouchEvent Properties and Methods

The Event Object Properties and Methods

JavaScript RegExp Properties and Methods

List of JavaScript RegExp Properties and Methods

RegExp constructor Property in JavaScript
The constructor property is used for returning the function that created the RegExp prototype. It return is function RegExp() { [native code] }
RegExp global in JavaScript
The global property is used for specifying whether the g modifier is set or not. If it is set then it will return true or else false.
RegExp ignoreCase in JavaScript
The ignoreCase property is used for specifying whether i modifier is set or not. If it is set then it will return true or else false.
lastIndex Property in JavaScript
The lastIndex property is used for specifying the index at which to start the next match. It will return an integer that is used to specify character position immediately after the last match is found.
multiline Property in JavaScript
The multiline property is used for specifying whether the m modifier is set or not. It will return true if set else false.
source Property in JavaScript
The source property is used to return the text of the RegExp pattern.
RegExp exec() in JavaScript
The exec() method is used to test for a match in a string. If a match is found, it will return a result array else it will return null.
RegExp test() in JavaScript
The test() method is used to test for a match in a string. If a match is found, it will return true or else false.
RegExp toString() in JavaScript
The toString() method is used to return the string value of the regular expression.
RegExp g Modifier in JavaScript
The g modifier is used for specifying the global match. In this modifier, it will find all matches but compared to only the first match.
RegExp i Modifier in JavaScript
The i modifier is used for specifying the case-insensitive match. In this, it will ignore cases like capital or small and just search for the specified value
RegExp m Modifier in JavaScript
The m modifier is used for specifying the multiline match. In this, $ is used to specify the match at end of the string while ^ is used to specify the match at the start of the string.
RegExp Group [abc] in JavaScript
Brackets [abc] are used for specifying matches for the characters inside the brackets. Brackets may contain groups, single characters, etc.
RegExp Group [^abc] in JavaScript
Brackets [^abc] are used to specify matches for any character NOT between the brackets. Brackets may contain groups, single characters, etc.
RegExp Group [0-9] in JavaScript
The [0-9] bracket expression is used to find any character between the brackets. The numbers inside brackets specify nunbers from 0 to 9.
RegExp Group [^0-9] in JavaScript
The [^0-9] bracket expression is used to find any character that is not a digit. The numbers inside brackets specify numbers from 0 to 9.
RegExp Group (x|y) in JavaScript
The (x|y) expression is used for finding any of the alternatives specified. It can be any character.
RegExp . Metacharacter in JavaScript
The . metacharacter is used for matching any character except line terminators or newline.
RegExp \w Metacharacter in JavaScript
The \w metacharacter is used to match word characters. Word characters are from a-z, A-Z, 0-9.
RegExp \W Metacharacter in JavaScript
The \W metacharacter is used for matching non-word characters. Word characters are from a-z, A-Z, 0-9.
RegExp \d Metacharacter in JavaScript
The \d metacharacter is used for matching digits from 0 to 9.
RegExp \D Metacharacter in JavaScript
The \D metacharacter is used for matching non-digits characters.
RegExp \s Metacharacter in JavaScript
The \s metacharacter is used for matching the whitespace characters.
RegExp \S Metacharacter in JavaScript
The \S metacharacter is used for matching non-whitespace characters.
RegExp \b Metacharacter in JavaScript
The \b metacharacter is used for matching at the beginning or end of a word. For beginning we use \b{word} while for end we use {word}\b.
RegExp \B Metacharacter in JavaScript
The \B metacharacter is used for matching not at the beginning or end of a word. For searching, not a beginning we use \B{word} while for searching not at the end we use {word}\B.
RegExp \0 Metacharacter in JavaScript
The \0 metacharacter is used for matching NULL characters.
RegExp \n Metacharacter in JavaScript
The \n character is used for matching newline characters.
RegExp \f Metacharacter in JavaScript
The \f metacharacter is used for matching form feed characters.
RegExp \r Metacharacter in JavaScript
The \r metacharacter is used for matching carriage return characters.
RegExp \t Metacharacter in JavaScript
The \t metacharacter is used for matching the horizontal tabs.
RegExp \v Metacharacter in JavaScript
The \v metacharacter is used for matching vertical tab characters.
RegExp \xxx Metacharacter in JavaScript
The \xxx metacharacters are used for matching the Latin character by an octal number.
RegExp \xdd Metacharacter in JavaScript
The \xdd metacharacters are used for matching Latin characters specified by a hexadecimal number.
RegExp \udddd Metacharacter in JavaScript
The \udddd metacharacters are used for matching Unicode characters specified by a hexadecimal number.
RegExp + Quantifier in JavaScript
The n+ quantifier is used for matching any string that contains at least one n.
RegExp * Quantifier in JavaScript
The n* quantifier is used for matching any string that contains zero or more occurrences of n.
RegExp ? Quantifier in JavaScript
The n? quantifier is used for matching any string that contains zero or one occurrence of n.
RegExp {X} Quantifier in JavaScript
The n{X} quantifier is used for matching any string that contains a sequence of X. In it, X must be a number.
RegExp {X,Y} Quantifier in JavaScript
The n{X,Y} quantifier is used for matching any string that contains a sequence of X to Y. In it, X and Y must be a number.
RegExp {X,} Quantifier in JavaScript
The n{X,} quantifier is used for matching any string that contains a sequence of at least X. In it, X must be a number.
RegExp $ Quantifier in JavaScript
The n$ quantifier is used for matching any string with n at the end of it. Its opposite quantifier is ^n.
RegExp ^ Quantifier in JavaScript
The ^n quantifier is used for matching any string with n at the beginning of it. Its opposite quantifier is n$.
RegExp ?= Quantifier in JavaScript
The ?=n quantifier is used for matching any string that is followed by a specific string n. Its opposite is ?!n.
RegExp ?! Quantifier in JavaScript
The ?!n quantifier is used for matching any string that is not followed by a specific string n. Its opposite is ?=n.