Lukeidiot Posted November 14, 2010 Share Posted November 14, 2010 I am trying to use regex to find the following string: <input type="hidden" name="form_key" value="jg351pzpvzMSkyJIZZhkT7AfcQ"> How would I go about getting just the value "jg351pzpvzMSkyJIZZhkT7AfcQ" ? Thanks! Link to comment https://forums.phpfreaks.com/topic/218664-simple-regex-problem/ Share on other sites More sharing options...
Alex Posted November 14, 2010 Share Posted November 14, 2010 ~name="form_key" value="([^"]+)"~ Link to comment https://forums.phpfreaks.com/topic/218664-simple-regex-problem/#findComment-1134199 Share on other sites More sharing options...
Lukeidiot Posted November 15, 2010 Author Share Posted November 15, 2010 ~name="form_key" value="([^"]+)"~ Thanks so much! Link to comment https://forums.phpfreaks.com/topic/218664-simple-regex-problem/#findComment-1134216 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.