C# Regex Alpahnumeric String

C# Regex Alpahnumeric String

I'd like to check whether a string contains the following Groups. All Strings MUST contain exactly 2&nbsp;<em>##</em>

I'd like to check whether a string contains the following Groups. All Strings MUST contain exactly 2 ##

String 1)

##Some_Foo_Text_1##

=> Expected result: String contains 1 Valid group

String 2)

##Some_Foo_Text_2#E+1##

=> Expected result: String contains 1 Valid group

String 3)

##Some_Foo_Text_3#e-1##

=> Expected result: String contains 1 Valid Group

String 4)

##Some_Foo_Text_4##E+1##

=>Expected result: String contains 1 valid Group (##Some_Foo_Text_4##) and 1 invalid Group (E+1##) the invalid Group is discarded

Now i came up with this regex

/([A-Za-z\+\-0-9])+/g

According to Regexr this does not match my string. Could you help me to take care of the ## at the beginning and End?

Angular 9 Tutorial: Learn to Build a CRUD Angular App Quickly

What's new in Bootstrap 5 and when Bootstrap 5 release date?

Brave, Chrome, Firefox, Opera or Edge: Which is Better and Faster?

How to Build Progressive Web Apps (PWA) using Angular 9

What is new features in Javascript ES2020 ECMAScript 2020

C/C++ vs. Rust: A developer’s perspective

In this post, you'll see the difference between Rust and C/C++ in a developer’s perspective

Variable Introduction in C#[Bangla]

LIKE | COMMENT | SHARE | SUBSCRIBE A variable is nothing but a name given to a storage area that our programs can manipulate. Each variable in C# has a speci...