hashcode=TEXTINCLUDINGMULTIPLEPERCENTSIGNS&messageType=0
&toUserID=1381934&returnUrl=TEXTINCLUDINGMULTIPLEPER
CENTSIGNSANDPERIODS&subject=SUBJECT&mailbody=MESSAGE
i want to grab the text between each = and &. the
subject and message
might include both = and & which has to be taken into
consideration
this is being done in ruby. here is what i have so far:
/hashcode=([^.&]+).*messageType=([^.&]).*toUserID=([
^.&]+).*returnUrl=([^.&]+).*subject=([^.&]+).*ma
ilbody=([^.&]+).*/xm
it works if the regex is:
/hashcode=([^.&]+).*messageType=([^.&]).*/xm
but as soon as a i add a third strip it breaks. any help
would be
great. thanks guys
dave
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "Regex" group.
To post to this group, send email to regex googlegroups.com
To unsubscribe from this group, send email to
regex-unsubscribe googlegroups.com
For more options, visit this group at http://groups.go
ogle.com/group/regex
-~----------~----~----~----~------~----~------~--~---
|