English 中文(简体)
Java Regex - Logical Operators
  • 时间:2024-09-17

Java Regex - Examples of Logical Operators


Previous Page Next Page  

Following are various examples of Logical Operators using regular expression in java.

Sr.No Construct & Matches
1 XY

X followed by Y.

2 X|Y

Either X or Y.

Print