Formal languages | Automata (computation)

Regular expression

A regular expression (shortened as regex or regexp; sometimes referred to as rational expression) is a sequence of characters that specifies a search pattern in text. Usually such patterns are used by string-searching algorithms for "find" or "find and replace" operations on strings, or for input validation. Regular expression techniques are developed in theoretical computer science and formal language theory. The concept of regular expressions began in the 1950s, when the American mathematician Stephen Cole Kleene formalized the concept of a regular language. They came into common use with Unix text-processing utilities. Different syntaxes for writing regular expressions have existed since the 1980s, one being the POSIX standard and another, widely used, being the Perl syntax. Regular expressions are used in search engines, in search and replace dialogs of word processors and text editors, in text processing utilities such as sed and AWK, and in lexical analysis. Most general-purpose programming languages support regex capabilities either natively or via libraries, including Python, C, C++,Java, Rust, OCaml, and JavaScript. (Wikipedia).

Regular expression
Video thumbnail

REGEX Tutorial Regular Expressions

Best Regular Expressions Book : http://goo.gl/RFX7eJ Here I explain how Regular Expressions are used. I cover all of the codes and what they are used for. The goal is to teach you how to use regular expressions once and for all.

From playlist Regex Tutorial

Video thumbnail

JavaScript Video Tutorial Pt 6

Best JavaScript Book : http://goo.gl/zodRHD In this part of the JavaScript Video tutorial I will introduce Regular Expressions. I go over all the JavaScript Regular Expression functions. Code is Here: http://bit.ly/f7Au2e

From playlist JavaScript Video Tutorial

Video thumbnail

Simplify a rational expression

Learn how to simplify rational expressions. A rational expression is an expression in the form of a fraction where the numerator and/or the denominator are/is an algebraic expression. To simplify a rational expression, we factor completely the numerator and the denominator of the rational

From playlist Simplify Rational Expressions

Video thumbnail

What do I need to know to simplify rational expressions

Learn about simplifying rational expressions. A rational expression is an expression in the form of a fraction. To simplify a rational expression is to put the expression in a simplified form i.e. cancel out common factors, etc. When given a rational function such that the numerator and

From playlist Simplify Rational Expressions

Video thumbnail

Summary Simplifying rational expressions

Learn how to simplify rational expressions. A rational expression is an expression in the form of a fraction where the numerator and/or the denominator are/is an algebraic expression. To simplify a rational expression, we factor completely the numerator and the denominator of the rational

From playlist Simplify Rational Expressions

Video thumbnail

How to simplify a rational expression by factoring twice

Learn how to simplify rational expressions. A rational expression is an expression in the form of a fraction where the numerator and/or the denominator are/is an algebraic expression. To simplify a rational expression, we factor completely the numerator and the denominator of the rational

From playlist Simplify Rational Expressions

Video thumbnail

What does it mean to simplify a rational expression

Learn about simplifying rational expressions. A rational expression is an expression in the form of a fraction. To simplify a rational expression is to put the expression in a simplified form i.e. cancel out common factors, etc. When given a rational function such that the numerator and

From playlist Simplify Rational Expressions

Video thumbnail

Complete Simplifying Rational Expressions

Learn about simplifying rational expressions. A rational expression is an expression in the form of a fraction. To simplify a rational expression is to put the expression in a simplified form i.e. cancel out common factors, etc. When given a rational function such that the numerator and

From playlist Learn about Simplifying Rational Expressions #Rational

Video thumbnail

2.6: Regular Expressions: test() and match() - Programming with Text

In this video, I discuss how to use regular expressions with theJavaScript programming language. I discuss the difference between literal strings and regular expressions. I also cover two key regex functions: test() and match(). This is the sixth video in a series on Regular Expression

From playlist Session 2: Regular Expressions - Programming with Text

Video thumbnail

NLP for Developers: Regular Expressions AKA Regex | Rasa

In this video Rachael will quickly introduce what regular expressions are and then talk about their place in modern NLP, especially for chatbots. - Using regular expression in Rasa (https://rasa.com/docs/rasa/nlu-training-data/#regular-expressions) - Speech and Language Processing, Ch. 2

From playlist NLP for Developers

Video thumbnail

2.1: Introduction to Regular Expressions - Programming with Text

This video is part of week 2 of the "Programming from A to Z" course at ITP (http://itp.nyu.edu). In this video I introduce Regular Expressions. What are they and how are they used? I summarize the topics of future videos including meta-characters, capturing parentheses, character clas

From playlist Session 2: Regular Expressions - Programming with Text

Video thumbnail

Python RegEx | Python Regular Expressions Tutorial | Python Tutorial | Python Training | Edureka

🔥Python Certification Training: https://www.edureka.co/data-science-python-certification-course This Edureka "Python RegEx" tutorial (Python Tutorial Blog: https://goo.gl/wd28Zr) will help you in understanding how to use regular expressions in Python. You will get to learn different regula

From playlist Python Programming Tutorials | Edureka

Video thumbnail

More regular expressions: Theory of Computation (Feb 23 2021)

More regular expressions! This is a recording of a live class for Math 3342, Theory of Computation, an undergraduate course for math & computer science majors at Fairfield University, Spring 2021. Class website: http://cstaecker.fairfield.edu/~cstaecker/courses/2021s3342/

From playlist Math 3342 (Theory of Computation) Spring 2021

Video thumbnail

Best of Fluent 2012: /Reg(exp){2}lained/: Demystifying Regular Expressions

From Fluent 2012: Quick, what does this do: /(\/\*?\\/)|\/\/.*?(\r?\n|$)/g? If you're like many developers, you just averted your eyes, and your heart is now in your throat. Symptoms included sweaty palms and recurring nightmares with blood-thirsty ASCII symbols. But don't worry, this con

From playlist O'Reilly Webcasts 2

Video thumbnail

Computation Ep13, Regex to NFA (Feb 15, 2022)

This is a recording of a live class for Math 3342, Theory of Computation, an undergraduate course for math and computer science majors at Fairfield University, Spring 2022. The course is about finite automata, Turing machines, and related topics. Homework and handouts at the class websi

From playlist Math 3342 (Theory of Computation) Spring 2022

Video thumbnail

NFA to regex: Theory of Computation (Feb 24 2021)

Converting a NFA to regular expression, plus some test review. This is a recording of a live class for Math 3342, Theory of Computation, an undergraduate course for math & computer science majors at Fairfield University, Spring 2021. Class website: http://cstaecker.fairfield.edu/~cstaeck

From playlist Math 3342 (Theory of Computation) Spring 2021

Video thumbnail

Simplify a rational expression

Learn how to simplify rational expressions. A rational expression is an expression in the form of a fraction where the numerator and/or the denominator are/is an algebraic expression. To simplify a rational expression, we factor completely the numerator and the denominator of the rational

From playlist Simplify Rational Expressions

Video thumbnail

Discrete Structures: Finite state machines and regular expressions

Learn about finite state machines and regular expressions. How to convert one to the other. Along with basic regular expressions and extended regular expressions.

From playlist Discrete Structures

Related pages

ECMAScript | Kleene's algorithm | Recursion (computer science) | String (computer science) | Vim (text editor) | Parsing expression grammar | Closure (mathematics) | Boyer–Moore string-search algorithm | Regular tree grammar | Context-free language | Theoretical computer science | Deterministic finite automaton | Recursive descent parser | Parsing | Nondeterministic finite automaton | Isomorphism | Big O notation | String literal | Formal grammar | Powerset construction | Regular language | Pumping lemma for context-free languages | Grammar induction | Metacharacter | Formal language | Automata theory | Greedy algorithm | Backus–Naur form | Thompson's construction | Context-sensitive language | Julia (programming language) | Double exponential function | Stephen Cole Kleene | String-searching algorithm | Star height problem | Backtracking | Union (set theory) | Language identification in the limit | Exponential growth | Concatenation | Extended Backus–Naur form | Regular grammar | Induction of regular languages | Subset | Chomsky hierarchy | Computational learning theory | Kleene star | Delimiter | ISBN | Horn clause | Emacs | Empty string | Kleene algebra | Pattern matching | Vertical bar | Algorithm | Character (computing) | Alternation (formal language theory)