Reputation: 1
<form id="lrMemberDashboard" action="/cboss/preRegistrationWorkflow/viewLRMemberDashboard?msg=Task%20has%20been%20successfully%20Accepted&isRejected=false" method="get" enctype="multipart/form-data">
How to get in MSG in a variable for the uper string:
msg=Task%20has%20been%20successfully%20Accepted
Upvotes: 0
Views: 275
Reputation: 3667
In this case, for this input (and others similar to it), msg=[^&"]+
will do. Beware, however, that parsing HTML with Regex only works reliably for well defined input.
Upvotes: 3
Reputation: 1047
Depending on what characters are allowed in the msg... https://regex101.com/r/W31NOb/1
msg=([^&]+)
Upvotes: 1