This link has been bookmarked by 222 people . It was first bookmarked on 07 Aug 2006, by Richard.
-
03 Sep 15
-
30 Aug 15
-
26 May 15
-
02 Apr 15
-
26 Feb 15
-
?The question mark indicates there is zero or one of the preceding element. For example, colou?rmatches both "color" and "colour".*The asterisk indicates there is zero or more of the preceding element. For example, ab*cmatches "ac", "abc", "abbc", "abbbc", and so on.+The plus sign indicates there is one or more of the preceding element. For example, ab+cmatches "abc", "abbc", "abbbc", and so on, but not "ac".
-
-
20 Jan 15
-
(\d+\.?\d*|\.\d+)
-
-
10 Jan 15
-
07 Jan 15
-
o the Perl p
-
-
13 Dec 14
Steven JosselsonIn theoretical computer science and formal language theory, a regular expression (abbreviated regex or regexp) is a sequence of characters that forms a search pattern, mainly for use in pattern matching with strings, or string matching, i.e. "find...
-
11 Dec 14
-
POSIX basic and extended
-
Character classes
-
-
06 Nov 14
-
Most other languages offer regular expressions via a library.
-
24 Sep 14
-
19 Aug 14
-
25 Mar 14
-
23 Mar 14
-
10 Mar 14
-
16 Dec 13
-
29 Nov 13
-
- Quantification
- A quantifier after a token (such as a character) or group specifies how often that preceding element is allowed to occur. The most common quantifiers are the question mark
?, the asterisk*(derived from the Kleene star), and the plus sign+(Kleene cross).
-
?The question mark indicates there is zero or one of the preceding element. For example, colou?rmatches both "color" and "colour".*The asterisk indicates there is zero or more of the preceding element. For example, ab*cmatches "ac", "abc", "abbc", "abbbc", and so on.+The plus sign indicates there is one or more of the preceding element. For example, ab+cmatches "abc", "abbc", "abbbc", and so on, but not "ac".
-
-
21 Aug 13
-
Regular expression
-
sequence of characters that forms a search pattern
-
metacharacter with its special meaning
-
egular character with its literal meaning
-
-
18 Jul 13
somsekhar dashfor editing text
-
14 Jun 13
-
In computing, a regular expression (abbreviated regex or regexp) is a sequence of text characters, some of which are understood to be metacharacters with symbolic meaning, and some of which have their literal meaning, that together can automatically identify textual material of a given pattern, or process a number of instances of it that can vary from a precise equality to a very general similarity of the pattern. The pattern sequence itself is an expression that is a statement in a language designed specifically to represent prescribed targets in the most concise and flexible way to direct the automation of text processing of general text files, specific textual forms, or of random input strings. A regular expression matches a pattern to a string.
-
-
22 May 13
-
02 Apr 13
-
20 Feb 13
-
16 Jan 13
-
- any three-character string ending with "at", including "hat", "cat", and "bat".
[hc]atmatches "hat" and "cat".[^b]atmatches all strings matched b
-
-
06 Dec 12
-
parsimonious
-
-
04 Dec 12
-
21 Oct 12
-
a regular expression provides a concise and flexible means to "match" (specify and recognize) strings of text
-
Digits
-
-
11 Oct 12
-
05 Oct 12
-
04 May 12
-
03 Apr 12
-
In computing, a regular expression provides a concise and flexible means to "match" (specify and recognize) strings of text, such as particular characters, words, or patterns of characters. Common abbreviations for "regular expression" include regex and regexp. The concept of regular expressions was first popularized by utilities provided by Unix distributions, in particular the editor ed and the filter grep.[citation needed]
-
- the sequence of characters "car" appearing consecutively, such as in "car", "cartoon", or "bicarbonate"
- the word "car" when it appears as an isolated word (and delimited from other words, typically through whitespace character)
- the word "car" when preceded by the word "motor" (and separated by a named delimeter, or multiple.)
The following are examples of specifications which can be expressed as a regular expression:
-
-
31 Mar 12
-
23 Mar 12
Selenite Vingt-NeufIn computing, a regular expression (abbreviated regex or regexp) is a sequence of text characters, some of which are understood to be metacharacters with symbolic meaning, and some of which have their literal meaning, that together can automatically ident
-
12 Jan 12
-
22 Dec 11
-
01 Dec 11
-
20 Nov 11
-
30 Sep 11
-
14 Sep 11
-
09 Sep 11
-
zero or one
-
zero or more
-
one or more
-
-
01 Jun 11
-
30 Apr 11
-
15 Apr 11
-
Quantification
-
quantifier after a token (such as a character) or group specifies how often that preceding element is allowed to occur
-
quantifiers are the question mark
?, the asterisk*(derived from the Kleene star), and the plus sign+(Kleene cross) -
question mark indicates there is zero or one of the preceding element
-
asterisk indicates there are zero or more of the preceding element.
-
one or more
-
plus sign
-
origins of regular expressions lie in automata theory and formal language theory, both of which are part of theoretical computer science
-
-
01 Mar 11
-
07 Feb 11
-
13 Dec 10
-
03 Dec 10
-
26 Nov 10
-
17 Sep 10
-
28 Jun 10
James Otto"In computing, regular expressions, also referred to as regex or regexp, provide a concise and flexible means for matching strings of text, such as particular characters, words, or patterns of characters."
[Yes, I could have googled this next time I neede -
30 Apr 10
-
25 Feb 10
-
vertical bar
-
Parentheses
-
tokentoken
-
quantifierquantifier
-
-
29 Jan 10
-
28 Jan 10
-
08 Jan 10
-
04 Dec 09
-
09 Nov 09
-
09 Oct 09
-
02 Oct 09
-
14 Jul 09
-
01 Jul 09
-
28 Apr 09
-
21 Apr 09
-
06 Apr 09
-
15 Feb 09
-
29 Jan 09
-
05 Nov 08
-
30 Oct 08
-
03 Oct 08
-
12 Sep 08
-
02 Sep 08
-
11 Aug 08
-
07 Aug 08
-
06 Aug 08
-
23 Jun 08
-
25 Apr 08
-
23 Apr 08
-
02 Apr 08
-
26 Feb 08
-
06 Jan 08
-
21 Dec 07
-
21 Oct 07
-
21 Sep 07
Chris JoblingDescription of regular expressions from the WikiPedia with links to further reading and various tools.
regex programming wikipedia reference development unix computer articles eg-259
-
30 Aug 07
-
17 May 07
-
13 Apr 07
Peter HanleyA regular expression, often called a pattern, is an expression that describes a set of strings. They are usually used to give a concise description of a set, without having to list all elements. For example, the set containing the three strings Handel, H
algorithms code development expression regex regexp programming reference scripting text tools
-
31 Mar 07
-
09 Mar 07
-
08 Mar 07
-
22 Feb 07
-
26 Jan 07
-
16 Jan 07
-
In computing, a regular expression (abbreviated as regexp or regex, with plural forms regexps, regexes, or regexen) is a string that describes or matches a set of strings, according to certain syntax rules. Regular expressions are used by many text editors and utilities to search and manipulate bodies of text based on certain patterns.
-
-
08 Dec 06
-
28 Sep 06
-
07 Aug 06
-
21 Feb 06
Andrew WhiteA regular expression (abbreviated as regexp, regex, or regxp, with plural forms regexps, regexes, or regexen) is a string that describes or matches a set of strings, according to certain syntax rules. Regular expressions are used by many text editors and
-
15 Apr 05
Page Comments
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.