PHP Regex to grab a account id from url -


example url: www.domain.com/viewpage.php?account_id=123456789

i have php script grabs hyper-links on webpage, want filter shows above link (www.domain.com/viewpage.php). once filters down specific php page, want grab account id links.

need little regex please :/

p.s don't want use parse url function

you can try using following regex,

\d+$ 

working demo


Comments

Popular posts from this blog

gcc - MinGW's ld cannot perform PE operations on non PE output file -

How to connect android app to App engine -

hadoop - Running Map Reduce Job shows error - Mkdirs failed to create /var/folders/ -