Regular Expressions

From UC_Chemistry

Jump to: navigation, search

Basics

^   Beginning of string  
$   End of string  
.   Any character  
[   Start of character list  
]   End of character list  
(   Start of expression group  
)   End of expression group  
|   ORs two expressions  
\   Escape character  
*   Preceding expression occurs zero or more times  
?   Preceding expression occurs zero or one times  
+   Preceding expression occurs one or more times

Basic Regular Expression Syntax, Syntax summary

Personal tools