Advertisement
Guest User

Untitled

a guest
Apr 18th, 2014
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. try {
  2. if (subjectString.matches(""([^\w]+)"")) {
  3. // String matched entirely
  4. } else {
  5. // Match attempt failed
  6. }
  7. } catch (PatternSyntaxException ex) {
  8. // Syntax error in the regular expression
  9. }
  10.  
  11. (['"])([W_]).*?1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement