title: Java Regex and json
body: <p>i have the following regex in place to validate the name field in my program and it works fine</p>
  
  <pre><code>^[a-zA-Z\\d\\s_.@\\-]*$
  </code></pre>
  
  <p><code>{"name":"jfhgjhf"}</code></p>
  
  <p>I now want to add an embedded json element that I am passing in as part of my json (I am using Schema Form)
  I want my taskDetails element to accept the same charachters as name as well as the charachters {[/:="</p>
  
  <p>I tried the following regex with no joy</p>
  
  <pre><code>^[a-zA-Z\\d\\s_.@\\-{\\]\\[}/\\\\/\\/ ':=]*$
  
  {"name":"jfhgjhf","taskDetails":"{\"ids\":[{\"id\":\"jhgjghjghfjf\"}]}"}
  </code></pre>
  
  <p>Any help on this would be greatly appreciated</p>
  
  <p>Thanks
  Damien</p>