Regular expressions: Difference between revisions

From Computer Science Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


A regular expression, regex  (sometimes called a rational expression) is, in theoretical computer science and formal language theory, a sequence of characters that define a search pattern. Usually this pattern is then used by string searching algorithms for "find" or "find and replace" operations on strings.<ref>https://en.wikipedia.org/wiki/Regular_expression</ref>
A regular expression, regex  (sometimes called a rational expression) is, in theoretical computer science and formal language theory, a sequence of characters that define a search pattern. Usually this pattern is then used by string searching algorithms for "find" or "find and replace" operations on strings.<ref>https://en.wikipedia.org/wiki/Regular_expression</ref>
You [https://www.regular-expressions.info/ should consult this site as a reference as you are learning about regular expressions].


== regex cheat sheet ==
== regex cheat sheet ==




[[File:Regex Cheat Sheet.png|400px]]
[[File:Regex Cheat Sheet.png|600px]]
 


== References ==
== References ==

Latest revision as of 10:46, 27 April 2022

Computational thinking, problem-solving and programming[1]

A regular expression, regex (sometimes called a rational expression) is, in theoretical computer science and formal language theory, a sequence of characters that define a search pattern. Usually this pattern is then used by string searching algorithms for "find" or "find and replace" operations on strings.[2]

You should consult this site as a reference as you are learning about regular expressions.

regex cheat sheet[edit]

Regex Cheat Sheet.png

References[edit]