PowerShellVerbalExpressions
PowerShell regular expression made easy using Verbal expressions.
**Note:**This is currently a partial implementation only.
##How to start
Import-Module -Name Poverb
##How To use it Currently the output is only a string that has the regular expression you desire.
API documentation
Get-RegexFromVerbex -Verbex {
startofline
then "http"
maybe "s"
then "://"
maybe "www."
anythingbut " "
endofline
}
the output is:
'^(?:http)(?:s)?(?:://)(?:www\.)?(?:[^\ ]*)$'
Other implementations
You can view all implementations on VerbalExpressions.github.io
##References