Java Persistence API (JPA) Extensions Reference for EclipseLink, Release 2.4
  Go To Table Of Contents
 Search
 PDFComments
Comments


REGEXP

Use REGEXP to determine if a string matches a regular expression.


Usage

To use the REGEXP function, your database must support regular expressions.


Examples

Example 3-11 shows how to use this JPQL extension.

Example 3-11 Using REGEXP EQL

e.lastName REGEXP '^Dr\.*'


See Also

For more information, see: