IT. Expert System.

C#

Anchors Regular Expressions


Anchors allow a match to succeed or fail depending on the current position in the string. The following table lists the anchors:

AssertionDescriptionPatternMatches
^The match must start at the beginning of the string or line.^\d{3}"567" in "567-777-"
$The match must occur at the end of the string or before \n at the end of the line or string.-\d{4}$"-2012" in "8-12-2012"
\AThe match must occur at the start of the string.\A\w{3}"Code" in "Code-007-"
\ZThe match must occur at the end of the string or before \n at the end of the string.-\d{3}\Z"-007" in "Bond-901-007"
\zThe match must occur at the end of the string.-\d{3}\z"-333" in "-901-333"
\GThe match must occur at the point where the previous match ended.\\G\(\d\)"(1)", "(3)", "(5)" in "(1)(3)(5)[7](9)"
\bThe match must occur on a boundary between a \w (alphanumeric) and a \W(nonalphanumeric) character.\w"R", "o", "m" and "1" in "Room#1"
\BThe match must not occur on a \b boundary.\Bend\w*\b"ends", "ender" in "end sends endure lender"


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 1253 / 158797491. Delta: 0.00237 с