Regex -Muster -Matching mit @PatternNNN -Annotation im Spring BootJava

Java-Forum
Anonymous
 Regex -Muster -Matching mit @PatternNNN -Annotation im Spring Boot

Post by Anonymous »

Ich möchte nur diese Titel akzeptieren, die keine folgenden Zeichen enthalten: \/:*? "

Code: Select all

@Pattern(regexp = "[^\\/:*?\"|]", message = "Not valid")
private String title;
Ich bin neu im Muster -Matching, also helfen Sie mir bitte bei der Lösung ...

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post
  • Java -Muster -Matching mit Regex
    by Anonymous » » in Java
    0 Replies
    0 Views
    Last post by Anonymous
  • Matcher Regex kein Matching -Muster
    by Anonymous » » in Java
    0 Replies
    0 Views
    Last post by Anonymous
  • Warum passt das Muster -Matching in INT16 [] zu UINT16 [] in C#überein?
    by Anonymous » » in C#
    0 Replies
    12 Views
    Last post by Anonymous
  • Java -Muster -Matching zur Validierung
    by Anonymous » » in Java
    0 Replies
    0 Views
    Last post by Anonymous
  • Java Regex: Fall Unempfindliches Matching für nicht englische Charaktere
    by Anonymous » » in Java
    0 Replies
    2 Views
    Last post by Anonymous