skip to main content
Advanced Customizations, Overrides, and Extensions » ePublisher Platform XSLT Extensions » StringUtilities » bool MatchExpression (string input, string matchExpressionAsString)
bool MatchExpression (string input, string matchExpressionAsString)
 
Return success of match for 'matchExpressionAsString' in 'input'.
Exceptions:
OutOfMemoryException
Thrown when a low memory situation occurs.
Parameters:
input
The input.
matchExpressionAsString
The match expression as string.
Returns:
True if match found, false otherwise.
Contains 3-4 "a"s?
<xsl:value-of select="wwstring:Replace('<letter>scar's <letter>nly <letter>strich <letter>iled an <letter>range <letter>wl t<letter>day.', '<letter>', 'o')" />
Was this helpful?
Last modified date: 10/14/2020