REX Question

Post Reply
gerry.odea
Posts: 98
Joined: Fri Sep 19, 2008 9:33 am

REX Question

Post by gerry.odea »

I know that with the rex expression below I can get everything after the "?". But how do I write the rex to get everything before the "?". I've tried everything and can't seem to figure it. Please let me know. Thanks.

<$url="http://www.amazon.com?q=thunderstone">
<rex "[^?]+>>=" $url><$url=$ret>
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

REX Question

Post by mark »

">>=[^?]+"
User avatar
mark
Site Admin
Posts: 5513
Joined: Tue Apr 25, 2000 6:56 pm

REX Question

Post by mark »

Or <urlutil split> or <split "\?">.
gerry.odea
Posts: 98
Joined: Fri Sep 19, 2008 9:33 am

REX Question

Post by gerry.odea »

Thank you Mark!
Post Reply