What is a regex?

0 votes
What is a regex? Can someone explain how it works?
Oct 16, 2019 in Data Analytics by ch
• 3,380 points
49 views

1 answer to this question.

0 votes
A regular expression, regex or regexp is a sequence of characters that define a search pattern.

It allows you to create patterns that help match, locate, and manage text.

A regex is passed to string function to perform functions.

Ex: str_detect(name,regrex("s",TRUE))
answered Nov 2, 2019 by Cherukuri
• 32,460 points

Related Questions In Data Analytics

0 votes
1 answer
0 votes
1 answer

What is a Random Walk model and how can you simulate it using R?

A random walk is a simple example ...READ MORE

answered Jul 3, 2018 in Data Analytics by DataKing99
• 8,150 points
1,411 views
0 votes
3 answers

What is the goal of A/B Testing?

With A/B Testing you can see which ...READ MORE

answered Sep 17, 2018 in Data Analytics by zombie
• 3,750 points
276 views
0 votes
1 answer

What is the importance of having a selection bias?

Selection biased is used when there is ...READ MORE

answered Aug 23, 2018 in Data Analytics by Abhi
• 3,680 points
145 views
0 votes
1 answer

Big Data transformations with R

Dear Koushik, Hope you are doing great. You can ...READ MORE

answered Dec 17, 2017 in Data Analytics by Sudhir
• 1,610 points
151 views
0 votes
2 answers

Transforming a key/value string into distinct rows in R

We would start off by loading the ...READ MORE

answered Mar 26, 2018 in Data Analytics by Bharani
• 4,560 points
184 views
0 votes
1 answer

Finding frequency of observations in R

You can use the "dplyr" package to ...READ MORE

answered Mar 26, 2018 in Data Analytics by Bharani
• 4,560 points
1,563 views
0 votes
1 answer

Left Join and Right Join using "dplyr"

The below is the code to perform ...READ MORE

answered Mar 26, 2018 in Data Analytics by Bharani
• 4,560 points
230 views
0 votes
1 answer

What is a chi Squared value?

The chi-squared statistic is a single number that tells ...READ MORE

answered Nov 3, 2019 in Data Analytics by Cherukuri
• 32,460 points
63 views
0 votes
1 answer

what is a contingency table?

A contingency table is a table showing ...READ MORE

answered Oct 21, 2019 in Data Analytics by Cherukuri
• 32,460 points
62 views