I need some help trying to select a certain part of a string with regular expression.
Here is the string.
http://site.com/bathroom.jpg&h=165&w=204&zc=1&q=90&a=c
And I need to select “&h=165&w=204&zc=1&q=90&a=c” part of it out.
Would regular expression be the best approach to this and if so, how?
Thanks…
Find the first
&and take everything starting from it. The regex: