Google Sheets - RegEx REGEXEXTRACT, Functions Exctract, Replace, Match Tutorial - Part 1

  Рет қаралды 130,221

Learn Google Sheets & Excel Spreadsheets

Learn Google Sheets & Excel Spreadsheets

Күн бұрын

Пікірлер: 67
@paulseldn
@paulseldn 5 жыл бұрын
I have been trying to figure out how to do this for ages. My thanks for this great video. It will save me so much time. Very well and clearly explained. Also, you don't rush through it like most people on here. very helpful. :)
@ddcowan86
@ddcowan86 6 жыл бұрын
Great beginner video to RE2 syntax. One thing, can you add a link to a sample copy of your sheet used in the explanation?
@mikemccartneyable
@mikemccartneyable 7 жыл бұрын
Excellent tutorial, thanks for sharing
@StefanoVerugi
@StefanoVerugi 7 жыл бұрын
thank you, very easy to follow your tutorials btw I think you posted REGEXEXTRACT videos in reverse order ?
@jaydencollier5265
@jaydencollier5265 Жыл бұрын
Thank you so much this is extreamly helpful!
@mohamedtawakol5689
@mohamedtawakol5689 Жыл бұрын
great video thanks for sharing
@strangeDog
@strangeDog 2 жыл бұрын
講得非常清楚,感謝~
@azenxgaming6628
@azenxgaming6628 6 жыл бұрын
Best tutorial, happy to following you...it's help me a lot, thanks
@Joe-bl5yo
@Joe-bl5yo 2 жыл бұрын
How do I use regex to extract 2 pieces of info , for eg. if I have to tracking numbers how to I extract both of them if they both start with same “Tracking #”.
@CarlDoesMusic
@CarlDoesMusic 5 жыл бұрын
um... legit magic. Appreciated
@ehsanellahi6506
@ehsanellahi6506 4 жыл бұрын
Is there any formula that can split/divide data of one row in to multiple rows, keeping the text data same and divide the values depending on some percentages?
@ExcelGoogleSheets
@ExcelGoogleSheets 4 жыл бұрын
SPLIT function?
@gustavorotondaro6611
@gustavorotondaro6611 3 жыл бұрын
Thank you for the video! Question...how can you extract multiple words from a cell. For instance, If I had a cell containing "Company X Information Technology and Data Services" and I'd like to extract only the following words: "X", "Technology", "Data Services" - how can I do this? Thanks in advance!
@tridsonline
@tridsonline 3 жыл бұрын
That's a very specific pattern! You're basically saying that "Company _ Information _ and _" is fixed, it will always be there. If that's really the case, then the pattern would be.. "Company (\w+) Information (\w+) and (.+)$" .. this would yield your output in 3 adjacent cells, beginning with the cell containing the formula. More versatile would be .. "Company (.+) Information (.+) and (.+)$" .. which would handle multi-word companies (eg: instead of just a single word company "X", it would handle "Dell Computers". Or "International Business Machines" etc)
@miftahulhadi1007
@miftahulhadi1007 Жыл бұрын
THankyou very much for your video, very very helpfulllll 😭
@prempatel1501
@prempatel1501 2 жыл бұрын
How to extract word that is before UnderScore Ex:-" sample1_lab1_part1" i want to extract "sample1 " Please help me with this... I tried and got output as "sample_" , but i want Just sample
@0xJericD_
@0xJericD_ 2 жыл бұрын
How do you enable that example guide above your function when adding regular expressions.
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
Click on the question mark.
@sonnymiles1724
@sonnymiles1724 3 жыл бұрын
How can we extract the last 2 words from a string? thanks in advance - great tutorial!!
@tridsonline
@tridsonline 3 жыл бұрын
(\w+)\W+(\w+)$
@marcobruni5402
@marcobruni5402 3 жыл бұрын
Great as always!!
@SanjayDevani
@SanjayDevani 4 жыл бұрын
Please Help me with the formula I have a cell (3.50%) or (4.50%) I need the formula to convert into (3.50) or (4.50) just want to remove "%". thank you
@jeremy_ching
@jeremy_ching 2 жыл бұрын
Hello. I have some lines but put into one cell. I would like to add a "-" at the beginning of every line. What should I do? I try \w but it only works at the first line.
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
="-"&A1
@MyBilal19971
@MyBilal19971 4 жыл бұрын
How can I use these functions in Script editor? I am having trouble in completing a task. Any help will be appreciated.
@expert1989123
@expert1989123 6 жыл бұрын
Your tutorials are great but it will be helpful if you also provide the file that you are using so that we can practice with you. Thanks for the tutorial.
@NewToneProducer
@NewToneProducer 3 жыл бұрын
how do you pull the characters between brackets [ ] ? For example, when I get Google Form data, the survey questions have the names of different options I gave in brackets like [Option 1] and [Option 2]
@supa.scoopa
@supa.scoopa Жыл бұрын
i'd use a formula with textbefore and textafter (but i'm a noob)
@appleship4369
@appleship4369 2 жыл бұрын
URGENT PLEASE: how can i do to add a word and a slash like this (/hi) to a found regex? i need this "/hi" before this regex \b\w{5,5}\b . if someone puts a name with 5 characters in it it must find that 5 characters name witch it does but it has also to add /hi infront of it as a result when it finds it
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
="/hi"&REGEXEXTRACT()
@timelesstimesgoneby
@timelesstimesgoneby 2 жыл бұрын
match and replace to columns together google sheets text to columns
@naomipena6318
@naomipena6318 3 жыл бұрын
Is there a way to extract text from the end of a string? I'm looking to extract the handle of a URL.
@ExcelGoogleSheets
@ExcelGoogleSheets 3 жыл бұрын
Please provide an example
@naomipena6318
@naomipena6318 3 жыл бұрын
@@ExcelGoogleSheets I'm trying to extract the last digits of a link where that handle is equal to a 'Product ID' number. Since the links have several "/", it's difficult to extract just the very end of the string followed by the last "/". I.e. the link is website/product-page/12345 but I only need "12345".
@ExcelGoogleSheets
@ExcelGoogleSheets 3 жыл бұрын
@@naomipena6318 REGEXEXTRACT(A1,"\d+$")
@naomipena6318
@naomipena6318 3 жыл бұрын
@@ExcelGoogleSheets Thank you!! It worked.
@ExcelGoogleSheets
@ExcelGoogleSheets 3 жыл бұрын
great!
@kevinyang9484
@kevinyang9484 4 жыл бұрын
Hi! These videos have been a huge help but I recently ran into a small problem. For example if I had a column containing things like "product-1-description x1, product-2-description x2, so on so forth," and my goal is to convert them to "product 1 x1, product 2 x2, etc.," how would I do that. Im new to regex but I can successfully find/replace "product-1-description x1" into "product 1 x1." But everything after that gets deleted. Is there a way to insert a regular expression for that comma so that the following terms get replaced as well?
@sodaa2489
@sodaa2489 2 жыл бұрын
Hi, Did you find the answer to this problem? If you did, can you share? I am trying to work around a similar problem
@omprakashthakur4515
@omprakashthakur4515 2 жыл бұрын
kindly help me for the practice file. please🙏🙏
@kumarvineet680
@kumarvineet680 2 жыл бұрын
Hi, I have one issue with REGEXEXTRACT. I want to match and extract the exact word. If I use the below formula, it will display the result “Sing,” but I want it to display “NA.” Because the source cell i.e A1 cell does not have the “Sing” word but it has the word "Singapore". =regexextract(A1,”(?i)Sing”) So, how can we extract the exact match instead of the partial match? Thanks & Regards, Vineet
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
Incomplete question. Bring several examples of what should and shouldn't match,
@JoshuaDHarvey
@JoshuaDHarvey 5 жыл бұрын
Great video, thank you!
@rohitbhandari6382
@rohitbhandari6382 4 ай бұрын
Sr where are you upload more new things
@manishvaity5492
@manishvaity5492 2 жыл бұрын
I am not able to use "REGEX" function in EXCEL 365 as well as Google Sheets!
@ExcelGoogleSheets
@ExcelGoogleSheets 2 жыл бұрын
Excel doesn't have REGEX functions, at least for now.
@aryanrawat4548
@aryanrawat4548 3 жыл бұрын
Can you tell me how to remove any characters before colon
@ExcelGoogleSheets
@ExcelGoogleSheets 3 жыл бұрын
this should work =REGEXREPLACE(A1,".*:","")
@alexcatswill5940
@alexcatswill5940 3 жыл бұрын
How to run the REGEXEXTRACT function on a PC program Excel?
@ExcelGoogleSheets
@ExcelGoogleSheets 3 жыл бұрын
You'll need a custom VBA function. Otherwise it doesn't exist in Excel.
@bulbulahmed3098
@bulbulahmed3098 11 ай бұрын
❤❤❤
@josher3436
@josher3436 4 жыл бұрын
Double Thumbs UPPPPPPPPP
@kaviascout
@kaviascout 4 жыл бұрын
I don't know why, but it doesn't work! even the 1st example formula, the result is "Formula parse error." I have received this message even with a copy-paste in a google sheet of the goole guide support.google.com/docs/answer/3098244?hl=it, and I'm receiving anyway the same result: "Formula parse error." Does anyone have a suggestion?
@ExcelGoogleSheets
@ExcelGoogleSheets 4 жыл бұрын
kzbin.info/www/bejne/opvZc2WXp6imhLM
@kaviascout
@kaviascout 4 жыл бұрын
@@ExcelGoogleSheets Wow! god job! :D really thankful! sharp, fast, efficient!
@luisfernandomacedo1451
@luisfernandomacedo1451 3 жыл бұрын
Great explanation! However, when I tried to extract th number from a text it didn't work properly for all the cells. Look at that: tube cleaning (mechanical 50%) 50 tube cleaning (mechanical 100%) 10 gdwdtge eyeeeetetec (gecgedetde eedgedegded-cgccegcecvececev 50%) 50 gdwdtge eyeeeetetec (gecgedetde eedgedegded-cgccegcecvece 100%) 10 gdwdtge eyeeeetetec (gecgedetde eedgedegded-cgccegcecvececev 40%) 40 gdwdtge eyeeeetetec (gecgedetde eedgedegded-cgccegcecvececev) tube cleaning (mechanical 100%) 10 tube cleaning (mechanical 50%) 50 tube cleaning (operator 60%) 60 tube cleaning (welder 100%) 10 It isn't extracting 100 number. It is bringing 10. That's how I used the function: =IFNA(REGEXEXTRACT(A1;"\w[0-5]");"") May you help me out, please?
@takaakiyamada7294
@takaakiyamada7294 3 жыл бұрын
Thank you! :-)
@edwarvi5541
@edwarvi5541 3 жыл бұрын
how to find 3rd word with regex
@ExcelGoogleSheets
@ExcelGoogleSheets 3 жыл бұрын
\w+\s+\w+\s+(\w+)
@DerTypHinnerDir
@DerTypHinnerDir 7 жыл бұрын
Please sort your playlist ;)
@cuneiformscript2665
@cuneiformscript2665 4 жыл бұрын
🙏🏻
@lazalazarevic6192
@lazalazarevic6192 7 жыл бұрын
Character classes . any character except newline \w \d \s word, digit, whitespace \W \D \S not word, digit, whitespace [abc] any of a, b, or c [^abc] not a, b, or c [a-g] character between a & g Anchors ^abc$ start / end of the string \b \B word, not-word boundary Escaped characters \. \* \\ escaped special characters \t tab, linefeed, carriage return \u00A9 unicode escaped © Groups & Lookaround (abc) capture group \1 backreference to group #1 (?:abc) non-capturing group (?=abc) positive lookahead (?!abc) negative lookahead Quantifiers & Alternation a* a+ a? 0 or more, 1 or more, 0 or 1 a{5} a{2,} exactly five, two or more a{1,3} between one & three a+? a{2,}? match as few as possible ab|cd match ab or cd
@Electric-Bob
@Electric-Bob 10 ай бұрын
Teacher... are you Retired now?
Google Sheets - RegEx REGEXEXTRACT, Functions Exctract, Replace, Match Tutorial - Part 2
12:05
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 49 М.
Google Sheets QUERY Function Tutorial - SELECT, WHERE, LIKE, AND, OR, LIMIT statements - Part 1
19:30
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 690 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 60 МЛН
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
DGET - Powerful VLOOKUP, INDEX-MATCH Replacement - Google Sheets Tutorial
15:54
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 121 М.
Learn to use RegEx in Google Sheets in 10 minutes
10:02
Jonah Lawrence • Dev Pro Tips
Рет қаралды 16 М.
Google Sheets Tutorial for Beginners
49:11
Kevin Stratvert
Рет қаралды 843 М.
Google Sheets - QUERY from Another Sheet, IMPORTRANGE, Use Multiple Tabs, Subquery Examples Tutorial
24:51
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 458 М.
Google Sheets ARRAYFORMULA, Introductions to Arrays, ARRAY_CONSTRAIN, SORT Functions Tutorial
23:17
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 269 М.
Google Sheets Query Function Explained
12:35
Leila Gharani
Рет қаралды 321 М.
Google Sheets - Search,  QUERY function
22:49
Learn Google Sheets & Excel Spreadsheets
Рет қаралды 226 М.
Google Sheets RegexExtract Function
11:48
The Excel Cave
Рет қаралды 2,6 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 60 МЛН