Introduction
Here is the source code for Main.java
Source
//package com.java2s;
//License from project: Open Source License
public class Main {
public static boolean isPwd(String str) {
boolean result;
result = str.matches("^[0-9a-zA-Z][\\~!@#$%^&*()_+-={}\\[\\]?/,.]{6,12}$");
return result;
}
}