Greetings everyone!
As the component description says this will be a community project, as such we'll be accepting any input you wish to deliver so that we can improve upon this project.To submit your regex expression to the library you'll have to submit the following:
1. The regex expression: Pretty obvious if you ask me
2. A description of what the expression does: Documentation is the key to success!
That's it!
Once our team has validated your expression it will be added to the component by the next release.
Let's build it together!
Very nice!
I wanted to supply few regex, so quickly navigated component's "Documentation" page, and it's blank. :)
anyway, an example for matching the URL
/^(https?:\/\/)?([\da-z\.-]+)\.([a-z\.]{2,6})([\/\w \.-]*)*\/?$/
Match any HTML tag
/^<([a-z]+)([^<]+)*(?:>(.*)<\/\1>|\s+\/>)$/
Swatantra Kumar wrote:
Hi Swatantra,
Thank you for your input. Is there any additional info you'd like to add to the regex (like any restrictions or conditions) to be added to the in-code documentation?Kind regards,
Glenn