quote:
Originally posted by Silentdragon
code:
Message.replace(/([0-9+\-()*\\\/]+)/,"[$1]")
Should work
no way
/([0-9+\-()*\\\/]+)/
'+' after numeric gives trouble
')*' will look for more ')'
'\\' why look for backlash ?
']+' i guess *(start) is more appropriate ??
you are right about the () => $1 matching, which is what im looking for
i tried you solution didn't do what i wanted though, actually nothing... im trying a modified version
thanks anyway