-1

I am trying to retrieve the mix of Capital letter, letter and numbers between \ and . from the string below.

qweq\Mixsfdsfs32432.sdfsfs

I have tried multiple ways to retrieve it but it retrieve the \ and .

[^\A-Za-z0-9]

The string I am trying to retrieve is

Mixsfdsfs32432

I know that ^ is start of line and a-z,A-Z is for letter and 0-9 is numbers but it didnt start from M. Adding an additional \ just causes highlight of . in regex testing website. How to ensure selection between the special character \ and .

0 Answers0