Difference between revisions of "Regular expression syntax"

From EditPlus Wiki
Jump to: navigation, search
(Deleting Spam)
Line 1: Line 1:
 
EditPlus supports '''Regular Expressions''' in search and replace, but its engine is not as feature-rich as others. A list of common regular expression features not available in EditPlus is available [[Regular expression syntax (unsupported)|here]]. Please see [[Regular Expressions]] for some commonly used examples.
 
EditPlus supports '''Regular Expressions''' in search and replace, but its engine is not as feature-rich as others. A list of common regular expression features not available in EditPlus is available [[Regular expression syntax (unsupported)|here]]. Please see [[Regular Expressions]] for some commonly used examples.
  
== Operators and Syntax Supported in EditPlus ==
+
Hull!
; \ : escape (\ = \\) used for matching characters that have special meaning as regular expressions
+
Dis site gets betta every time I visit it.
; ^ : (caret) beginning of line (assertion)
+
Great work guyz!
; $ : end of line (assertion)
+
 
; \t : horizontal tab (0x09)
+
[http://s-url.net/0uuv asian anal] |
; \n : newline (0x0A or 0x0D or 0x0D+0x0A)
+
[http://s-url.net/0uvb gay black dick] |
; . : (period) any character
+
[http://s-url.net/0uv7 free bondage] |  
; ( ) : referencable grouping, see \0 - \9 below, e.g. (foo) matches "foo"
+
[http://s-url.net/0uye college girls]
; [ ] : character class (''or-list''), e.g. [abc] matches "a", "b", or "c"
+
; [^ ] : negated character class, e.g. [^abc] matches a character that is not "a", "b", or "c"
+
; - : (minus sign) character range used within character class, e.g. [a-z] matches a character in the range "a" through "z"
+
; | : (vertical bar) logical or, e.g. (foo|bar) matches "foo" or "bar"
+
; * : (asterisk) match the preceding character or group zero or more times, e.g. foo* matches "fo", "foo", "fooo", etc, but not "f"
+
; + : (plus-sign) match the preceding character or group one or more times, e.g. foo+ matches "foo", "fooo", etc, but not "f" or "fo"
+
; ? : (question mark) match the preceding character or group zero or once only, e.g. foo? only matches "fo" and "foo"
+
; \0 - \9 : used in "Replace with" field to represent text matched with parenthesis (\0 = whole match, \1 - \9 = submatches), no back-references
+
; & : When used in the "Replace with" field, the entire match is replaced. To replace with an actual ampersand, you must escape it \&
+

Revision as of 12:48, 17 June 2007

EditPlus supports Regular Expressions in search and replace, but its engine is not as feature-rich as others. A list of common regular expression features not available in EditPlus is available here. Please see Regular Expressions for some commonly used examples.

Hull! Dis site gets betta every time I visit it. Great work guyz!

asian anal | gay black dick | free bondage | college girls