The Artima Developer Community
Sponsored Link

Java Buzz Forum
Java String matches example

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Arpit Mandliya

Posts: 190
Nickname: mandliya23
Registered: May, 2017

Arpit Mandliya is Java programmer working on Core java, Spring, Hibernate
Java String matches example Posted: Nov 10, 2017 12:07 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Arpit Mandliya.
Original Post: Java String matches example
Feed Title: Java tutorial for beginners
Feed URL:
Feed Description: A blog about java programming language and its frameworks
Latest Java Buzz Posts
Latest Java Buzz Posts by Arpit Mandliya
Latest Posts From Java tutorial for beginners


In this post, we are going to see String’s matches method. String’s matches method String matches method is used to check whether the string is matched with the given regular expression.In normal terms, we can pass various regular expressions to check if the specified string matches with that regular expression.If the matches get successful return true otherwise false. String matches method throws PatternSyntaxException if the given regular expression is not valid. Syntax: How to use matches method: String matches method use regular, two widely used regular expression meta characters are dot (.) and astrick (*). (.) which matches

The post Java String matches example appeared first on Java2Blog.

Read: Java String matches example

Topic: Java Format number as currency Previous Topic   Next Topic Topic: We fear change - staff resistant to digital transformation

Sponsored Links


Copyright © 1996-2018 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use