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

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

124,710 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

mohamed tawakol
mohamed tawakol - 01.06.2023 14:09

great video thanks for sharing

Ответить
Miftahul Hadi
Miftahul Hadi - 25.05.2023 00:59

THankyou very much for your video, very very helpfulllll 😭

Ответить
Jayden Collier
Jayden Collier - 28.02.2023 14:23

Thank you so much this is extreamly helpful!

Ответить
Joe
Joe - 03.11.2022 02:27

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

Ответить
Manish Vaity
Manish Vaity - 09.10.2022 14:08

I am not able to use "REGEX" function in EXCEL 365 as well as Google Sheets!

Ответить
Jeremy Lee
Jeremy Lee - 29.08.2022 16:58

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.

Ответить
Dok Modern
Dok Modern - 25.08.2022 11:56

How do you enable that example guide above your function when adding regular expressions.

Ответить
Kumar Vineet
Kumar Vineet - 16.08.2022 14:44

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

Ответить
徐培鈞
徐培鈞 - 25.07.2022 04:11

講得非常清楚,感謝~

Ответить
Public Archives
Public Archives - 06.06.2022 08:04

match and replace to columns together google sheets text to columns

Ответить
Om Prakash Thakur
Om Prakash Thakur - 12.03.2022 13:03

kindly help me for the practice file. please🙏🙏

Ответить
Prem Patel
Prem Patel - 16.01.2022 13:26

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

Ответить
Apple Ship
Apple Ship - 09.01.2022 17:53

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

Ответить
Luis Fernando Macedo
Luis Fernando Macedo - 20.11.2021 16:55

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?

Ответить
Alex Catswill
Alex Catswill - 28.10.2021 12:49

How to run the REGEXEXTRACT function on a PC program Excel?

Ответить
Takaaki Yamada
Takaaki Yamada - 19.10.2021 09:21

Thank you! :-)

Ответить
Naomi Pena
Naomi Pena - 02.10.2021 00:37

Is there a way to extract text from the end of a string? I'm looking to extract the handle of a URL.

Ответить
Darryl Trimming
Darryl Trimming - 29.08.2021 12:45

👍🏻 Nice .. but the video seems to be truncated. The final solution is missing, which would be something like this, i think ..
@\w+\.(.+)$

Ответить
Aryan Rawat
Aryan Rawat - 12.08.2021 22:49

Can you tell me how to remove any characters before colon

Ответить
Sonny Miles
Sonny Miles - 24.06.2021 17:49

How can we extract the last 2 words from a string? thanks in advance - great tutorial!!

Ответить
Edwar VI
Edwar VI - 20.06.2021 07:51

how to find 3rd word with regex

Ответить
Gustavo Rotondaro
Gustavo Rotondaro - 13.05.2021 19:10

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!

Ответить
Marco Bruni
Marco Bruni - 10.05.2021 20:02

Great as always!!

Ответить
NewToneProducer
NewToneProducer - 22.02.2021 01:51

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]

Ответить
Sanjay Devani
Sanjay Devani - 05.09.2020 12:09

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

Ответить
Josh Er
Josh Er - 05.09.2020 10:00

Double Thumbs UPPPPPPPPP

Ответить
Muhammad Bilal
Muhammad Bilal - 08.08.2020 19:30

How can I use these functions in Script editor? I am having trouble in completing a task. Any help will be appreciated.

Ответить
Cuneiform Script
Cuneiform Script - 18.07.2020 13:37

🙏🏻

Ответить
Kevin Yang
Kevin Yang - 13.06.2020 09:54

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?

Ответить
Ehsan Ellahi
Ehsan Ellahi - 05.06.2020 17:10

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?

Ответить
Carl Does Music
Carl Does Music - 13.01.2020 09:03

um... legit magic. Appreciated

Ответить
paulseldn
paulseldn - 20.08.2019 17:52

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

Ответить
Joshua Harvey
Joshua Harvey - 18.08.2019 06:18

Great video, thank you!

Ответить
AzenxGaming
AzenxGaming - 29.12.2018 08:22

Best tutorial, happy to following you...it's help me a lot, thanks

Ответить
Careful Vlogger
Careful Vlogger - 08.11.2018 12:19

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.

Ответить
Dirk Cowan
Dirk Cowan - 02.08.2018 03:07

Great beginner video to RE2 syntax. One thing, can you add a link to a sample copy of your sheet used in the explanation?

Ответить
Levi Azoulay
Levi Azoulay - 08.02.2018 20:12

I like the videos. I learn a lot. In Google Sheets, how do I format a currency amount to show the cents (digits after the decimal point) ONLY if there are more than 0 cents? For example, if the amount is $20, I want it to show "$20", (and NOT "$20.00") and if the amount is $20.10, THEN I want it to show "$20.10". In other words, round it only if there are no cents.
(I did come up with some long formula, but this is not exactly what I want. Please email the answer to [email protected].)

Ответить
Laza Lazarevic
Laza Lazarevic - 29.12.2017 15:30

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 \n \r 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

Ответить
Markronom
Markronom - 03.11.2017 12:54

Please sort your playlist ;)

Ответить
Stefano Verugi
Stefano Verugi - 06.08.2017 21:16

thank you, very easy to follow your tutorials
btw I think you posted REGEXEXTRACT videos in reverse order ?

Ответить
Mike McCartney
Mike McCartney - 16.06.2017 12:53

Excellent tutorial, thanks for sharing

Ответить