I want to perform a regex match in such a way that the text should start from # symbol and text should be from a - f and 0 - 9 Eg: #123A34 (hexcode)
Discussion posts and replies are publicly visible
Hello Achuth_Bilakanti Can you try this and let me know if that works for you.
regexmatch("^#[a-fA-F0-9]{6}$", "#123A34")
I want to perform a regex match in such a way that the text should accept only decimal values if any special characters/any invalid decimal should throw error how can we achive this by regex match, Can u please provide sample code?
I copied your text into Chat GPT and got a great answer. Do you want to try that as well?
yeah sure please