Can i use pregmatch in java code if statement?

Printable View