can we check multiple patterns using regex in java?

Posted by androidbase on Stack Overflow See other posts from Stack Overflow or by androidbase
Published on 2010-03-16T18:49:17Z Indexed on 2010/03/16 18:51 UTC
Read the original article Hit count: 207

Filed under:
|

i want to check 2 patterns using regex.

can i check those both patterns in the same time (like if(condition1 | condition2) condition).

any idea?

© Stack Overflow or respective owner

Related posts about java

Related posts about regex