JavaScript Tutorial | Regular Expression in JavaScript Ep#1 - RegExp - regex

Опубликовано: 21 Май 2021
на канале: stepUP
1,498
48

#Shorts

😍😍 😎😎Please Like this video and Subscribe my channel: https://bit.ly/3vvOCiS


Regular Expression in JavaScript Ep#1
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
// A regular expression is an object
// that describes a pattern of characters.
// Regular expressions are used to perform
// pattern-matching and "search-and-replace"
// functions on text.
// Syntax - /pattern/modifiers;
// --- /vCoding/i

// RegExp g modifier

let str = 'welcome to vCoding channel';
let ptrn = /C/g;
var res = str.match(ptrn);
console.log(res);



let str = 'Like & subscribe vCoding channel.';
let ptrn = /vCoding/g;
var res = str.match(ptrn);
console.log(res);
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

#regex #regexp #RegExp #JavaScriptTutorial
#shortvideo




- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Music in this Video:
When you are using this track, we simply ask that you put this in your description:



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


На этой странице сайта вы можете посмотреть видео онлайн JavaScript Tutorial | Regular Expression in JavaScript Ep#1 - RegExp - regex длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь stepUP 21 Май 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 1,498 раз и оно понравилось 48 зрителям. Приятного просмотра!