Im working and a fun project with c# and now I have a problem with my RegEx. I have tried some varitations but didnt found a solution for this. I want a RegEx for this string "##Test1##".
So I have tried this RegEx here:
[\#]{2}[a-zA-Z0-9]{1,}[\#]{2}
And its working fine but my problem is that,
When passed "###Test1###" the RegEx ignores the first and last # and matches on the inner "##Test1##".
But I dont want that.
The RegEx only should match to this string ##Test1##.
Hopefully here are some guys who can help me with that problem.
Greetings,
"^##Test1##$". Can you tell us which bits will vary if you need to support different strings? ie. give us some examples?anchorsto ensure the string consists of only that