New answers tagged regex
1
vote
Using a RegEx to create a UUID string
A general rule to follow when it comes to conditionals is to pull out the one thing that's actually different. In your case, it's really just a segment of the URL. The rest remained the same. So ...
2
votes
PHP local document crawler
It is unfortunate that no answers have been received since this was posted more than 10 years ago. Perhaps you've learned a few things since then and/or the code has changed. Regardless hopefully the ...
1
vote
Password policy with regex and zxcvbn
Elevate the data that drives the code to the status of named constants.
Among other benefits, this simple change will support any efforts you might
make to subject the code to automated testing (...
Top 50 recent answers are included
Related Tags
regex × 859python × 231
javascript × 150
strings × 120
performance × 99
java × 95
c# × 86
php × 83
parsing × 74
beginner × 69
python-3.x × 69
validation × 33
perl × 33
ruby × 30
c++ × 28
html × 28
programming-challenge × 26
url × 24
algorithm × 22
python-2.x × 22
datetime × 20
file × 19
jquery × 16
web-scraping × 16
formatting × 16