Brilliant Database Software - Home
Database software - Online Help System

Online Help System

Back to Brilliant Database Web-Site | Write to Support | Help Index



RegExp Match

table border="0" width="100%" cellspacing="0" cellpadding="4" bgcolor="#00000077">
RegExp Match

Parameters: Test String, Regular Expression (Pattern)

Search Test String for a match to the regular expression given in Pattern.

Returns the first math.

Example:
1

[$res] = RegExp Match ([E-Mail], [a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z])

2

Show Message ([$res], , Ok)

This will show an e-mail address if a valid e-mail address was entered in the [E-Mail] field.

See Also: For each match by regular expression cycle.



All topics in the "Miscellaneous" section: