Joke Collection Website - Public benefit messages - Java checks whether the string conforms to the custom template.
Java checks whether the string conforms to the custom template.
Yes, that's right. The enthusiastic netizen's opinion is right.
String regular expression = ". * Today. * Go or not. *3\\:00.* ";
string a =“abcdefg“;
if(a . matches(regex)){
// TODO
}
- Related articles
- Which SMS platform sent it 1096 1564?
- Make your sister angry, apologize to her and make her happy.
- Why can’t I receive the mobile phone verification code when using postal savings quick payment on Taobao? Urgent!
- How do people with high emotional intelligence say good morning? Warm words, high emotional intelligence humor and good morning phrases.
- Will canceling the SMS service of postal savings bank card cancel SMS verification?
- Is it true that Citibank applied for a credit card and asked me to send him the verification code?
- Complete text messages sent by insurance companies
- How to write the poster of member's day? Member activity planning scheme
- Is it true that Guiyang Southern Power Grid’s notice to cancel electric heating households?
- Messi joined Paris Saint-Germain, why does Bayern always cling to it?