format string extractor