save up to 40%

What are the characters that match location in a string?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

What are the characters that match location in a string?

Rating:

The characters that match location in a string are as follows:

CharactersDescription
^It is used to specify that the match must begin at either the first character of a string or the last character of a line. If you are working on multiline input, the ^ will match the beginning of any line.
$It is used to specify that the match must end at either the last character of a string, the last character before at the end of a string, or the last character at the end of a line. If a user is working on multiline input, the $ will match the end of any line.
\AIt is used to specify that the match must begin at the first character of a string and it ignores multiple lines.
\ZIt is used to specify that the match must end at either the last character of a string or last character before at the end of a string and it ignores multiple lines.
\zIt is used to specify that the match must end at the last character of a string and it ignores multiple lines.
\GIt is used to specify that the match must occur at the point where the previous match ended. When it used with Match.NextMatch, it ensures that matches are adjacent.
\bIt is used to specify that the match must occur on a boundary between \w (alphanumeric) and \W (nonalphanumeric) characters.
\BIt is used to specify that the match must occur on a \b boundary.


Rating:



Other articles

Click here to Article home

 
uCertify.com | Our Company | Articles | Privacy | Security | Contact Us | News and Press Release | uCertify India
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.