JavaScript Regular Expressions Part4 - JavaScript Tutorial 91

preview_player
Показать описание
Notes for You:: JavaScript Regular Expressions Part4 - JavaScript Tutorial 91
JavaScript RegExp Starts and Ends with
- Sequence of characters enclosed in between pair of forward slash symbols indicates a regular expression in JavaScript

Syntax for defining a variable of type regular expression is:
var variableName = /search pattern/ [flags] ;
Ex: validating a phone number
var pattern = / ^[0-9]{10}$ /;

Begins with & Ends with Meta characters:
- are used to test whether a string begins with a specific pattern and/or ends with specific pattern
Ex:
^a
- indicates whether a string begins with a character
a$
- indicates whether a string ends with a character

Example Code:

=========================================

Follow the link for next video:
JavaScript Tutorial 92 - Quantifiers in Regular Expression JavaScript

Follow the link for previous video:
JavaScript Tutorial 90 - Regular Expression Meta Characters in JavaScript

=========================================

JavaScript Tutorials Playlist:-

=========================================
Watch My Other Useful Tutorials:-

jQuery Tutorials Playlist:-

jQuery UI Tutorials Playlist:-

Bootstrap Tutorials Playlist:-

=========================================

► Subscribe to our YouTube channel:

► Visit our Website:

=========================================
Hash Tags:-
#ChidresTechTutorials #JavaScript #JavaScriptTutorial
Рекомендации по теме
Комментарии
Автор

Excellent. Sir, You have explained very well.Thanks🙏

AjayKumar-ggds
Автор

bro how many videos more to end javascript

ramuramu
join shbcf.ru