Regular Expressions in JavaScript Tutorial | RegEx
HTML-код
- Опубликовано: 9 фев 2025
- Introduction to Regex in JavaScript, Learn its applications for form input validation, Splitting string, replacing string, pattern matching.
Please be my patreons on patreaon
/ techsith
Follow me for technology updates
/ techsith
/ techsith1
Help me translate this video.
www.youtube.com...
Note: use translate.goog... to translate this video to your language. Let me know once you do that so i can give you credit. Thank you in advance.
Whenever I stumble upon a roadblock I come here to get a better explanation. Never disappoints. Cheers man
I searched a lot over youtube but didnt find any good video....yous one is the best for learners.... it really made me learn much about regex
I am glad that you learnt . Thanks for watching Hemant. Also check out other javaScript topics on my channel.
It's always a great pleasure to learn back here with you !
Thanks Techsith for sharing best JavaScript Regular Expression Tutorial.
aap jaise techer honge toh beda garg hee hoga india ka
bhai unki kya gLti hai tum ganwar ho simple english samjh ni aari tumhe
this learning type is such vivid clear and understandable,its just covered gold,,,thans so much i got regex now more deeply...
Glad you are able to do it. Keep on learning!
Comprehensive and short. Thanks.
I hit like to your videos way before I watch them complete.
Thanks :)
Thanks for the introduction!
very informative, 'rejEx' made simple! congrats techsith!
Outstanding. A quick link to some cheat sheets would have made this one of the best tutorials on the web.
Thanks David. :)
are guru ji dil jeet liya aapne
Clean cut tutorial, love it!
I have learnt quite a lot of JS knowledge from yr channel. U sir are one of a kind :)
Nice explanation
You teach so well. Thanks a lot.
Very helpful. Regex is very poerful tool for developer. Please make video for lookahead, look forward, like things in regex. Thanks for helpful videoa.
This was a basic intro but i plan to make more videos on regex. Thanks for watching!
awesome bro enjoyed lot
Thank for watching Kavi :)
Do u have udemey I want angular 10 course can u??
Thanks Sir you're the man! Great job
From Tamil Nadu
me too
Useful one 😊
Excellent
Excellent!
Great video sir. keep it up.
Could anybody answer if I want to match other languages with a regex pattern, let's say example Japanese character こんにちは what would be the pattern?
Dhilip, when you try to match characters from other languages you can do that by matching unicodes , because ultimately that is what they are.
Nice Video!!
Very good tutorial. Im still very new to web development. Can you give me an example on where exactly are developers using regex?
Lots of places. Finding things within a string, string validation, replacing parts of a string with other strings
What is g mean sir
I like very much.
Brilliant tutorial :)
Thank you!
Great information sir
Thanks for watching!
why you downloaded wrong voice pack
Thanks
i have this error in Javascript when trying to use regex {unexpected token: regular expression literal}.. Do you know how i may fix this?
Ryan, what is cod you are trying to execute? I can take a look
I've been trying to set up regex validation on a form to allow these "@-|//?" but block these: "}{(Double & Single quotes,)"
so far i've tried multiple different functions incorporating regex but I can't get it to work
I have started off with
function charReplace(){
var A = document.getElementById("MainSearchForm").getElementByTagName("input").value; then trying to add the regex into this function and calling the function bellow after the closing }
Also tried adding an onPaste event to prevent copying and pasting code...
This is another example i tried
var a = function filterIn() {
var input = document.getElementById(inputForm).addEventListener('onchange', regexFunc);
function regexFunc(e){
var a = regex /[^a-z\0-9\@\-]/gi;
input.value = input.value.replace(regex, "");
}
}
filterIn();
but its a bit jumbled as i've been editing it loads trying to force it to work......
when you were giving minimum 1 and max 9 a's. it was matching at 11 a's as we
. why so?
you probably used some whitespaces between the numbers inside the curly braces. Like this: {1, 3}. It also happened with me. It worked using {1,3}, without whitespaces
so awesome
Is it new series? or single episode?
This was a basic intro but i plan to make more videos on regex. Thanks for watching!
when i grow up i want to be like @techsith
Maasai you can be even better than me. :)
@@Techsithtube Thanks for the encouragement, and thank you for making time to create such wonderful tutorials
@@Techsithtube I like the way you always explain in simple terms without missing a single details. You are truly a student's favorite.
My advise would be to focus on fundamentals of anything you learn . and you will master it in no time.
still dont understand the ? what mean exactly cuz u pass it so fast but thank u so much
sir india me kyu reh rahe ho jab hindi me tutorials nhe bana sakte
bana to sakta hu hindi mai, koi dusri channel per banani hongi.
@@Techsithtube plss sir agar aap aisa kartr hai toh kuch hee saal me google pe no. 1 world riches person india ka hoga chahe wo fir koi bhi ho sir
@@humanbeing9106 lamba mat socho
bhai bolna seekh le pehle India me rhe to ganwar rhe kya bhai you have to grow man!!
agar nhe jana toh hindi language me banao tutorial taki 5 crore indians ko ye video samajh me aaey.
5 crore Indians ko English aati hogi I guess.....
koi comedy circus me chale jao
aap padah nhe rahe ho balki ye dikha rahe ho ki mai english kitni achi bolta hoo
Nope not great content sadly.