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

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -