Regular expressions: Difference between revisions

From Computer Science Wiki
No edit summary
No edit summary
Line 3: Line 3:
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>


== regex cheat sheet ==


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





Revision as of 09:08, 11 May 2017

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]

regex cheat sheet[edit]

Regex Cheat Sheet.png


References[edit]