How do I determine the value of tx from this string? page/words_from_the_well_checkout/?tx=8UM53005HH344951T&st=Completed&amt=0.01 My desired answer is: 8UM53005HH344951T I am trying to capture the serial number which follows tx= and ends immediately before the & Ron