FerTrob-7155 avatar image
0 Votes"
FerTrob-7155 asked ·

Regex Problem

Hello, I have a question in Regex that I believe is easy to solve, anybody can help me?

I need to get the first 3 characters of that string ("newtest-test"), the dash and the 2 characters after the dash (like that "new-te").
I use this regex "\w{3}-\w{2}" but return "est-te". What's wrong?

· 2
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@FerTrob-7155 - Thank you for contacting us!

Are you using Azure site recovery and trying out any scripts that you need help with?

Please provide more context about your issue/requirement.

0 Votes 0 ·

@FerTrob-7155 Could you please share more details about your concern?

0 Votes 0 ·

0 Answers