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

Publicado em: 21 Maio 2021
no canal de: 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:



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


Nesta página do site você pode assistir ao vídeo on-line JavaScript Tutorial | Regular Expression in JavaScript Ep#1 - RegExp - regex duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário stepUP 21 Maio 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 1,498 vezes e gostou 48 espectadores. Boa visualização!