webcategory.aspx?q=webcategory:Car&rows=0
From this querystring I’m extracting ‘webcategory:Car‘ (q) and inserts it into a textfield.
var qqry = $.getParamValue('q');
if(qqry != '') {
$("#search-field").val(qqry)
}
I need to know how to wipe all text before the colon(:) sign in the textfield using regex – So webcategory:Car becomes to just Car
Plz bear with me because my knowledge about regex are on an absolute minimum… :-/
Does it have to be with regex?