regex - Regular expression alternative for javascript escape() function -
i'm working on jmeter, , need send encoded parameter along http request. know can encoding of special characters using javascript escape(). can't use javascript here, i'm using jmeter's regular expression extractor. need regular expression pattern same escape(). please me. in advance.
regular expressions can't this. escape()
(which deprecated anyway , has been superseded encodeuri()
) takes ascii control characters , non-ascii characters , encodes them using %xx
or %uxxxx
hexadecimal notation. regular expressions can work existing text, not convert it.
Comments
Post a Comment