I have this URL:
http://www.xxxxxxxx.it/stagione.shtml#giornata_107
I tried to get number of giornata with regex like this:
<!--#set var="giornata" value="$QUERY_STRING = /\#giornata\_([0-9])/"-->
but I don't know the right syntax
Thanks
You need to match one or more digits, using [0-9]+
instead of just [0-9]
which matches a single one:
<!--#set var="giornata" value="$QUERY_STRING = /\#giornata\_([0-9]+)/"-->