fork download
  1. #include <stdio.h>
  2.  
  3. #define STR "Title : \"Hello world 123\""
  4.  
  5. int main(void) {
  6. char tmp[256];
  7.  
  8. //sscanf(STR, "\"%[1-9a-zA-Z ]\"", tmp);
  9. sscanf(STR, "Title : \"%[1-9a-zA-Z ]\"", tmp);
  10.  
  11. printf("Text : %s\n", STR);
  12.  
  13. printf("Get : %s\n", tmp);
  14.  
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 4248KB
stdin
Standard input is empty
stdout
Text : Title : "Hello world 123"
Get : Hello world 123