Regular Expressions -- Examples

Top  Previous  Next

[a-zA-Z]+\w*

 

Match a GAMS identifier

 

('|").*?\1

 

Match text starting with a single or double quote, zero or more characters (non-greedy) and the matching closing quote.