Meta-characters to match against certain string boundaries : Basic Regular Expressions « Regular Expressions « Java

Java
1. 2D Graphics GUI
2. 3D
3. Advanced Graphics
4. Ant
5. Apache Common
6. Chart
7. Class
8. Collections Data Structure
9. Data Type
10. Database SQL JDBC
11. Design Pattern
12. Development Class
13. EJB3
14. Email
15. Event
16. File Input Output
17. Game
18. Generics
19. GWT
20. Hibernate
21. I18N
22. J2EE
23. J2ME
24. JDK 6
25. JNDI LDAP
26. JPA
27. JSP
28. JSTL
29. Language Basics
30. Network Protocol
31. PDF RTF
32. Reflection
33. Regular Expressions
34. Scripting
35. Security
36. Servlets
37. Spring
38. Swing Components
39. Swing JFC
40. SWT JFace Eclipse
41. Threads
42. Tiny Application
43. Velocity
44. Web Services SOA
45. XML
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java » Regular Expressions » Basic Regular ExpressionsScreenshots 
Meta-characters to match against certain string boundaries
  

Meta-Character            Matches

^                         Beginning of the line

$                         End of the line

\b                        A word boundary

\B                        A nonword boundary

\A                        The beginning of the input

\G                        The end of the previous match

\Z                        The end of the input before any line terminators (such as carriage-return or linefeed)

\z                        The end of the input

   
  
Related examples in the same category
1. Characters classes specifies a list of possible characters
2. POSIX character classes and Java character classes
3. Character Class Matches
4. Greedy Operator Description
5. Reluctant (Lazy) Operator Description
6. Displays directory listing using regular expressionsDisplays directory listing using regular expressions
7. Like Regular Expression Demo in a TextFieldLike Regular Expression Demo in a TextField
8. StringConvenience -- demonstrate java.lang.String convenience routineStringConvenience -- demonstrate java.lang.String convenience routine
9. Split a String into a Java Array of Strings divided by an Regular ExpressionsSplit a String into a Java Array of Strings divided by an Regular Expressions
10. Simple example of using Regular Expressions class.Simple example of using Regular Expressions class.
11. Match the Q[^u] pattern against strings from command line
12. demonstrate Regular Expressions: Match -> group()demonstrate Regular Expressions: Match -> group()
13. Show case control using Regular Expressions class.Show case control using Regular Expressions class.
14. Matcher and Pattern demoMatcher and Pattern demo
15. Matcher and Pattern demo 2Matcher and Pattern demo 2
16. Standalone Swing GUI application for demonstrating Regular expressions.Standalone Swing GUI application for demonstrating Regular expressions.
17. Regular Expressions in Action
18. Match SQL string
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.