whoareu to ProgrammingEnglish • 21 days agolast time when did you use Regular Expressions?message-square33fedilinkarrow-up127arrow-down12
arrow-up125arrow-down1message-squarelast time when did you use Regular Expressions?whoareu to ProgrammingEnglish • 21 days agomessage-square33fedilink
minus-squarewhoareuOPlinkfedilink3•19 days agohttps?//[a-zA-Z0-9_-]* I am kinda learning RE right now 😅
minus-squarewhoareuOPlinkfedilink1•19 days agoIf we want to include every protocol then the RE could be complex.
minus-squareladlinkEnglish1•19 days agoDepending on the use-case it maybe should. On the other hand, some things are better left to library implementations rather than custom regex, e.g. email validation
https?//[a-zA-Z0-9_-]*
I am kinda learning RE right now 😅
What about ftp? 🤔
If we want to include every protocol then the RE could be complex.
Depending on the use-case it maybe should. On the other hand, some things are better left to library implementations rather than custom regex, e.g. email validation