Difference between revisions of "Regular Expressions"

Jump to navigation Jump to search
197 bytes added ,  10:04, 28 February 2011
→‎Examples: Added "Lab Manager VM Prefix"
(→‎Examples: Added "Script Version")
(→‎Examples: Added "Lab Manager VM Prefix")
Line 86: Line 86:
# <code>(?=.)</code>
# <code>(?=.)</code>
#* Requires that <code>.</code> follows the match
#* Requires that <code>.</code> follows the match
=== Lab Manager VM Prefix ===
'''<code>(\b\d{6}-)</code>'''
Matches the numeric prefix at the start of a Lab Manager VM name
* EG Matches <code>002310-<code> from <code> 002310-Server-A-10<code>

Navigation menu