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")
Thank you Shubham, it worked
Achuth_Bilakanti I have modified regex for better validation regarding length. You can refer updated one from above.
This is a great resource.
https://regex101.com/