Tuesday, 15 June 2010

How to find a regex for url value -



How to find a regex for url value -

product-resource/monitor-arms/cutsheets/edge

i trying "cutsheets" string above. trying select lastly "/" , previous "/".

do have thought how this?

thanks help-

you seek regex capture string cutsheets,

.*\/(.*)\/

or

.*\/(.*)\/.*$

demo

regex

No comments:

Post a Comment