Excel Just Got NEW REGEX Functions You Need to Try!

Поделиться
HTML-код
  • Опубликовано: 18 июн 2024
  • REGEXTEST, REGEXEXTRACT & REGEXREPLACE finally bring RegEx to Excel!
    👩‍🏫 Learn more with my Excel courses: bit.ly/regex24courses
    ⬇️ Step-by-step guide on how to use REGEX and a downloadable file: bit.ly/regex24file
    Excel has 3 new functions that revolutionize text manipulation. And it’s about time because parsing text in Excel with functions like SEARCH, MID, and LEFT etc. can be cumbersome and frustrating.
    These new functions allow you to work with regular expressions, commonly known as Regex.
    ❗NOTE❗These functions are currently available on the Microsoft 365 beta channel, so you may not see them in your version of Excel yet.
    Regular expressions are powerful tools used for pattern matching within text strings. Allowing you to search, extract, and manipulate text based on specific patterns, making them incredibly useful for data validation, text parsing, and manipulation.
    Reg-Ex uses a sequence of characters to define a search pattern. This pattern can match simple text sequences or more complex string structures.
    Let’s dive into these new functions, with some practical examples to showcase their power and versatility.
    LEARN MORE
    ===========
    📰 EXCEL NEWSLETTER - join 450K+ subscribers here: www.myonlinetraininghub.com/e...
    🎯 FOLLOW me on LinkedIn: / myndatreacy
    💬 EXCEL QUESTIONS: Get help on our Excel Forum: www.myonlinetraininghub.com/e...
    ⏲ TIMESTAMPS
    ==============
    0:00 Functions that change the way we work with text
    1:00 REGEXTEST
    3:19 REGEXEXTRACT
    4:44 REGEXREPLACE
    5:43 Alternative you might be looking for
    #Excel #ExcelFunctions #REGEX #REGEXEXTRACT #REGEXTEST #REGEXREPLACE #RegularExpressions
  • НаукаНаука

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

  • @MyOnlineTrainingHub
    @MyOnlineTrainingHub  28 дней назад +10

    ❗NOTE❗These functions are currently available on the Microsoft 365 beta channel, so you may not see them in your version of Excel yet.

  • @hw7channel571
    @hw7channel571 24 дня назад

    Great update. Updating people about new features and function really helps, because softwares get updated usually without you knowing the tools and function newly added. Thanks for the videos

  • @alisongunnels6240
    @alisongunnels6240 28 дней назад +6

    I am so glad to see REGEX in excel! Thank you for the video.

  • @ReimaginedbySteve
    @ReimaginedbySteve 28 дней назад +2

    Thanks Mynda.⭐I can certainly see a big use case in data cleanup and data extraction of large datasets.

  • @HandelMcHandel
    @HandelMcHandel 27 дней назад

    Looks great Mynda - probably not much use to me but good to know when/if the time comes! Thanks - I love learning new things even if no use to me!

  • @chrism9037
    @chrism9037 28 дней назад

    Saw these on Leila's channel too, can't wait to get these Mynda. They look really useful!

  • @tmb8807
    @tmb8807 28 дней назад

    This is fantastic, thanks. Now just need it in Power Query!

  • @DingusBatus
    @DingusBatus 28 дней назад

    I don’t need/use the full power/capabilities of Excel at work, we just use as a basic base.
    But I do play around with Excel at home. I can see me using this once it’s available. I’ve only ever heard of REGEX but never actually seen it used, I’m looking forward to learning this.😀

  • @patricknyamu6110
    @patricknyamu6110 28 дней назад

    Nice thanks

  • @JimFikes
    @JimFikes 28 дней назад +1

    It's about time that Excel added this. Thanks for another crystal clear explanation.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  28 дней назад

      Glad it was helpful!

    • @xbia1
      @xbia1 28 дней назад

      Indeed, OpenOffice and LibreOffice have regex as long as I remember.

  • @nevermore17011990
    @nevermore17011990 28 дней назад

    this is the formula that i sometimes use gg sheet then excel. goodjob MS

  • @Milhouse77BS
    @Milhouse77BS 28 дней назад

    Finally!

  • @paulvanobberghen
    @paulvanobberghen 28 дней назад

    I believe, the identifier part (before the @) of an email address may also include the underscore (_) and tilde (~) characters so I guess they also need to be inserted in the regex, shouldn't they?

  • @vernacularbarnarchitecture
    @vernacularbarnarchitecture 28 дней назад

    Can you place formulas WITHIN the regex pattern? Also, can the regex pattern handle references to arrays?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  28 дней назад +1

      Yes, as long as they return a text string. I haven’t tested whether the pattern can handle arrays but I doubt it because what would it do with the arrays…there’s only one input of text. 🤔

    • @user-ig7ib6dd6e
      @user-ig7ib6dd6e 19 дней назад

      For array references, you'll need to fire up VBA. First, go to tools> references and make a reference to Microsoft VBScript Regular Expression 5.5. Then, just iterate over the range OR, write your regex to handle all the text at once, which would require you to read the whole array into a string.

  • @henryg5735
    @henryg5735 27 дней назад +1

    Not got it yet 😪 but it should be useful and could hopefully save using PQ on occasion. Much as I am a PQ fan, and Pivot Tables for that matter, I find the need to refresh more and more annoying.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  26 дней назад

      I know what you mean. This video covers a few ways you can auto-refresh PivotTables: ruclips.net/video/1d3u3lmK1mQ/видео.html

    • @henryg5735
      @henryg5735 23 дня назад

      ​@@MyOnlineTrainingHub Thank you and it is useful from time to time, but nothing beats the instant "refresh" of formulas.
      I hoped I could do away with many pivot tables when pivotby & groupby came along, but the need to manipulate data first means that PQ & Pivot tables generally provide an easier & faster overall solution but with the need to refresh. I wonder if Regex can change that, although the syntax is a real problem for me at first sight; AI should help though. Or maybe someone will come along with a Regex GUI add-on.
      Your videos are great! Thank you.

  • @stevenlwi1072
    @stevenlwi1072 26 дней назад

    Is possible to use Regextract to extract date from a string of text ?

  • @AnshulMarele-gbaa
    @AnshulMarele-gbaa 25 дней назад

    Any option that array functions could work inside the table as they throw #spill error

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  23 дня назад

      No. There are no plans to support spilled arrays inside Tables.

  • @ianbennett148
    @ianbennett148 26 дней назад

    Only been waiting 30 years for this! Will Excel REGEX support positive/negative look behind/ahead?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  26 дней назад +1

      Great to hear, Ian. Yes, it supports positive/negative look behind/ahead. They use the PCRE2 library.

  • @rusektor
    @rusektor 28 дней назад

    Regex? Really? This is cool! ))) So, does it support non-backtracking, balancing groups, groups naming, options for modifying behavior on the way of the text? ))

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  23 дня назад

      Not sure as I'm not a RegEx expert, but I can tell you is uses the PCRE2 library if that helps.

    • @rusektor
      @rusektor 23 дня назад

      @@MyOnlineTrainingHub Yeah, I looked thru function description where it says that. Thanks! )

  • @sentralorigin
    @sentralorigin 28 дней назад +2

    there is a competitor Excel channel i also watch who dropped a similar video but i much prefer Mynda's

  • @andrewdove2303
    @andrewdove2303 28 дней назад +1

    Got so excited only to realise that I am not one of the chosen few!

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  28 дней назад +1

      I know how you feel. It took me two PCs to find one with it, which is a lot less than the 7 it took to get Python! 😅

  • @akalarun
    @akalarun 28 дней назад

    I am using MS 365 - Beta Channel - Version 2406 -(Build 17716.20002) but this function is not available. Why?

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  28 дней назад

      They only roll it out initially to 50% of devices. You can try another PC if you have one. It took me two goes this time but for python it took me 7!

  • @njzzb
    @njzzb 27 дней назад

    this function is not available on my office. I hope this function can be updated in the office soon.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  26 дней назад

      Yes, it's just been released in the beta version, so it'll be months before it's generally available. You can get the beta version for free by joining the Microsoft Insiders program: insider.microsoft365.com/en-us/join/windows

  • @adamnealis
    @adamnealis 24 дня назад

    Microsoft have resisted real regex support for decades. Very nice to see useful regex support.

  • @rusektor
    @rusektor 28 дней назад

    Sadly, they don't appear in functions list... 😪 (Version 2406 Build 16.0.17716.20002). EDIT: On another computer they DO appear!

  • @gibbousmoon35
    @gibbousmoon35 27 дней назад

    I won't have to import resources and write functions to get regex in Excel sheets? Oh, good news!

  • @user-xm9bh9ck9o
    @user-xm9bh9ck9o 3 дня назад

    You should tell, this function is still in Beta and not available for everyone yet at the time you made the video.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  2 дня назад

      I put that note in the pinned comment because eventually they won't be in beta, and this video will live on long after that.

  • @montebont
    @montebont 27 дней назад +1

    30 years to late and the syntax makes absolutely no sense. A RE is an RE and is very well defined outside this "new"
    MS context. I'll stick with Sheets which follows well established standard;-)

  • @montebont
    @montebont 27 дней назад

    Amazing how people that call themselves data experts have never heard of RE...Where have they been since the late 1970's...?

    • @Mishkafofer
      @Mishkafofer 27 дней назад +1

      Excel became a data wrangling tool in the last couple of years. Until then, it was a limited modeling tool for business.

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  27 дней назад +2

      @montebont, most data experts these days were probably not born until the 90s or later! 😆

    • @montebont
      @montebont 26 дней назад

      @@MyOnlineTrainingHub which means that they should know about RE's that have been around - and doing a perfect job - for at least 20 years...

    • @montebont
      @montebont 26 дней назад

      @@MyOnlineTrainingHub It's R&K stuff. If you don't now what that means...you're don't know the first thing about data processing...

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  26 дней назад

      I'm not sure where your original comment is aimed. Who said they never heard of RE?

  • @GeertDelmulle
    @GeertDelmulle 28 дней назад

    WOW! This is so new, I’m still downloading the update…
    But, still, WOW! Very powerful, indeed.
    OK, caveat: now I need to learn about REGEX.
    Thanks for this Breaking News, Mynda! :-)

    • @MyOnlineTrainingHub
      @MyOnlineTrainingHub  28 дней назад +1

      😁 so pleased you're excited about these new functions, Geert!

    • @rusektor
      @rusektor 28 дней назад +1

      You MUST learn it! It's cool and neat. )))

  • @OzduSoleilDATA
    @OzduSoleilDATA 22 дня назад

    Very interesting. Kinda intimidating, too. 🫢
    Thanks for the video. I'm trying to get myself up to speed on these new functions.