Removing non numeric character in a string variable

Hi @Aleem_Khan ,

In .net regex, meta character inside square brackets is slight different with normal pattern.
For example, dot inside square brackets is not “any character” but just literal. Also ( is same. So it’s unnecessary to escape them in it.
Or - is special character only inside square brackets like [A-Z].

Hope this helps you.

Regards,

1 Like