Can you use regular expressions like we do in iOS and Node.js for handling the 401 pairs?