Regular Expressions in JavaScript Tutorial | RegEx

Поделиться
HTML-код
  • Опубликовано: 21 сен 2024
  • 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.

Комментарии • 76

  • @SKU009
    @SKU009 6 лет назад +5

    Thanks Techsith for sharing best JavaScript Regular Expression Tutorial.

  • @julianstorm7722
    @julianstorm7722 4 года назад

    Whenever I stumble upon a roadblock I come here to get a better explanation. Never disappoints. Cheers man

  • @hemantchauhan4490
    @hemantchauhan4490 5 лет назад

    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

    • @Techsithtube
      @Techsithtube  5 лет назад

      I am glad that you learnt . Thanks for watching Hemant. Also check out other javaScript topics on my channel.

  • @AngaarUriakhil
    @AngaarUriakhil 3 года назад

    Comprehensive and short. Thanks.

  • @humanbeing9106
    @humanbeing9106 5 лет назад +1

    aap jaise techer honge toh beda garg hee hoga india ka

    • @ishumishra8104
      @ishumishra8104 5 лет назад +1

      bhai unki kya gLti hai tum ganwar ho simple english samjh ni aari tumhe

  • @Neworldexport
    @Neworldexport 4 года назад +1

    It's always a great pleasure to learn back here with you !

  • @surajkantsingh6916
    @surajkantsingh6916 4 года назад

    are guru ji dil jeet liya aapne

  • @aidangasim
    @aidangasim 4 года назад

    this learning type is such vivid clear and understandable,its just covered gold,,,thans so much i got regex now more deeply...

    • @Techsithtube
      @Techsithtube  4 года назад

      Glad you are able to do it. Keep on learning!

  • @hoogalaga
    @hoogalaga Год назад

    Thanks for the introduction!

  • @newsmix8659
    @newsmix8659 5 лет назад +2

    very informative, 'rejEx' made simple! congrats techsith!

  • @dylanoh3425
    @dylanoh3425 4 года назад +2

    Clean cut tutorial, love it!

  • @BigyanChap
    @BigyanChap 6 лет назад

    I hit like to your videos way before I watch them complete.

  • @davidconnelly
    @davidconnelly 4 года назад

    Outstanding. A quick link to some cheat sheets would have made this one of the best tutorials on the web.

  • @denniskamonde6836
    @denniskamonde6836 6 лет назад +6

    Thanks Sir you're the man! Great job

  • @MoT-MasterOfThings
    @MoT-MasterOfThings 6 лет назад +3

    Very helpful. Regex is very poerful tool for developer. Please make video for lookahead, look forward, like things in regex. Thanks for helpful videoa.

    • @Techsithtube
      @Techsithtube  6 лет назад +1

      This was a basic intro but i plan to make more videos on regex. Thanks for watching!

  • @jigsaw009
    @jigsaw009 6 лет назад

    I have learnt quite a lot of JS knowledge from yr channel. U sir are one of a kind :)

  • @nishanthsalian3479
    @nishanthsalian3479 4 года назад

    You teach so well. Thanks a lot.

  • @kaviarasan8249
    @kaviarasan8249 5 лет назад +2

    awesome bro enjoyed lot

  • @thenotorious3763
    @thenotorious3763 5 лет назад +2

    From Tamil Nadu

  • @rthosarrohini
    @rthosarrohini 4 года назад

    I like very much.

  • @seenuvasanv
    @seenuvasanv 6 лет назад +2

    Thanks

  • @dearnavaneet
    @dearnavaneet 5 лет назад +1

    Excellent

  • @101appsCoZa
    @101appsCoZa 5 лет назад

    great tutorial.thanks for sharing!

  • @sathishthoughts4002
    @sathishthoughts4002 5 лет назад +1

    Useful one 😊

  • @DevangPatil
    @DevangPatil 5 лет назад +1

    Excellent!

  • @himanshuupreti619
    @himanshuupreti619 6 лет назад

    Great video sir. keep it up.

  • @raymnrae8298
    @raymnrae8298 6 лет назад +1

    Nice Video!!

  • @silverS1231
    @silverS1231 6 лет назад

    Brilliant tutorial :)

  • @saikalemil2157
    @saikalemil2157 4 года назад

    Thank you!

  • @WasimKhan-0801
    @WasimKhan-0801 6 лет назад

    Great information sir

  • @zeroxcrusher
    @zeroxcrusher 5 лет назад

    Very good tutorial. Im still very new to web development. Can you give me an example on where exactly are developers using regex?

    • @Techsithtube
      @Techsithtube  5 лет назад

      Lots of places. Finding things within a string, string validation, replacing parts of a string with other strings

  • @christian_turner
    @christian_turner 6 лет назад

    so awesome

  • @dhilipkumar2273
    @dhilipkumar2273 4 года назад

    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?

    • @Techsithtube
      @Techsithtube  4 года назад

      Dhilip, when you try to match characters from other languages you can do that by matching unicodes , because ultimately that is what they are.

  • @ritwiksoniful
    @ritwiksoniful Год назад

    why you downloaded wrong voice pack

  • @rajasekhar5135
    @rajasekhar5135 3 года назад

    Do u have udemey I want angular 10 course can u??

  • @thanhtikezaw9982
    @thanhtikezaw9982 3 года назад

    What is g mean sir

  • @rahulrijhwani3834
    @rahulrijhwani3834 5 лет назад

    when you were giving minimum 1 and max 9 a's. it was matching at 11 a's as we
    . why so?

    • @DouglasVicentini
      @DouglasVicentini 5 лет назад

      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

  • @omarborji8062
    @omarborji8062 5 лет назад

    still dont understand the ? what mean exactly cuz u pass it so fast but thank u so much

  • @josevSang
    @josevSang 5 лет назад +1

    when i grow up i want to be like @techsith

    • @Techsithtube
      @Techsithtube  5 лет назад

      Maasai you can be even better than me. :)

    • @josevSang
      @josevSang 5 лет назад

      @@Techsithtube Thanks for the encouragement, and thank you for making time to create such wonderful tutorials

    • @josevSang
      @josevSang 5 лет назад

      @@Techsithtube I like the way you always explain in simple terms without missing a single details. You are truly a student's favorite.

    • @Techsithtube
      @Techsithtube  5 лет назад +2

      My advise would be to focus on fundamentals of anything you learn . and you will master it in no time.

  • @phanindrakumarpulletikurti
    @phanindrakumarpulletikurti 6 лет назад

    Is it new series? or single episode?

    • @Techsithtube
      @Techsithtube  6 лет назад

      This was a basic intro but i plan to make more videos on regex. Thanks for watching!

  • @taospencer1403
    @taospencer1403 6 лет назад

    i have this error in Javascript when trying to use regex {unexpected token: regular expression literal}.. Do you know how i may fix this?

    • @Techsithtube
      @Techsithtube  6 лет назад

      Ryan, what is cod you are trying to execute? I can take a look

    • @taospencer1403
      @taospencer1403 6 лет назад

      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

    • @taospencer1403
      @taospencer1403 6 лет назад

      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 }

    • @taospencer1403
      @taospencer1403 6 лет назад

      Also tried adding an onPaste event to prevent copying and pasting code...

    • @taospencer1403
      @taospencer1403 6 лет назад

      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......

  • @humanbeing9106
    @humanbeing9106 5 лет назад +2

    agar nhe jana toh hindi language me banao tutorial taki 5 crore indians ko ye video samajh me aaey.

    • @shrutisaxena1303
      @shrutisaxena1303 5 лет назад

      5 crore Indians ko English aati hogi I guess.....

  • @humanbeing9106
    @humanbeing9106 5 лет назад +1

    sir india me kyu reh rahe ho jab hindi me tutorials nhe bana sakte

    • @Techsithtube
      @Techsithtube  5 лет назад +2

      bana to sakta hu hindi mai, koi dusri channel per banani hongi.

    • @humanbeing9106
      @humanbeing9106 5 лет назад +1

      @@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

    • @ishumishra8104
      @ishumishra8104 5 лет назад

      @@humanbeing9106 lamba mat socho

    • @ishumishra8104
      @ishumishra8104 5 лет назад

      bhai bolna seekh le pehle India me rhe to ganwar rhe kya bhai you have to grow man!!

  • @humanbeing9106
    @humanbeing9106 5 лет назад +1

    koi comedy circus me chale jao

  • @humanbeing9106
    @humanbeing9106 5 лет назад +3

    aap padah nhe rahe ho balki ye dikha rahe ho ki mai english kitni achi bolta hoo

  • @DebjitMajumdar
    @DebjitMajumdar Год назад

    Nope not great content sadly.