Link to home
Start Free TrialLog in
Avatar of skij
skijFlag for Canada

asked on

JavaScript/REGEX: Replace numbers after matching characters

Using JavaScript and Regular Expressions, how can I replace the numbers after: "page="?

helloworld&page=1
should become:
helloworld&page=555

and
page=1423&hello
should become
page=555&hello
ASKER CERTIFIED SOLUTION
Avatar of leakim971
leakim971
Flag of Guadeloupe image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial