Skip to content

Store RegEx

Gavin Bunney edited this page Mar 3, 2011 · 1 revision

Store RegEx

This operation stores the result of a regular expression into a property.

By specifying a particular group of the regular expression it is easily to extract only a subset of a given regular expression.

Usage

storeRegEx = [property : 'name of property to receive the extracted value', text : 'the regular expression that shall be evaluated' ]

Examples

storeRegEx = [property : 'storedRegexValue', text : "/^([MADCOW:a-z0-9_\.{}-]-{}{}{-}+)@([MADCOW:\da-z\.+{-}])\.([MADCOW:a-z\.]\{2,6\})$/", description : "store the email matching the regular expression on the page"]
Clone this wiki locally