Javatpoint Logo
Javatpoint Logo

JSF <f:validateRegex> Tag

It is used to check whether the local value of a component is a match against a regular expression from the java.util.regex package or not.

Tag Attributes

Attribute Description
pattern It is used to set a regular expression pattern for the component. It is a required attribute.

JSF <f:validateRegex> Tag Example

// index.xhtml



JSF F valiregex tag 1

Youtube For Videos Join Our Youtube Channel: Join Now


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Trending Technologies

B.Tech / MCA