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

Pubblicato il: 21 maggio 2021
sul canale di: 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:



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


In questa pagina del sito puoi guardare il video online JavaScript Tutorial | Regular Expression in JavaScript Ep#1 - RegExp - regex della durata di ore minuti seconda in buona qualità , che l'utente ha caricato stepUP 21 maggio 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,498 volte e gli è piaciuto 48 spettatori. Buona visione!