KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Ok so this is likely a ridiculously stupid question but I can't seem to find a workable answer so please forgive my ignorance if the answer is obvious. All I would like is a Regex which will match a hex value exactly 8 times. So I've tried something like this: My Regex: [0-9a-fA-F]{8} Sample Input: D651000000060D60FADF0DFCE080E020636263633534623231386339 Sample Failing Input (where my given regex matches when I don't want it to): ........@%........$dc073bcc-6aa5 Yet for some reason this wont work for me. From what I understand the {8} should match the preceding regex 8 times...yet this doesn't seem to work in either C# or notepad++. Thanks in advance!
Tags (comma-separated)
Save Edits
Cancel