regex

\"/cdn-cgi/l/email-protection#1a726d2d2385a7f777570737e7b753475687d25696f78707f796e27577b68717f6e73747d3f282a567f7b7e3f282a7b6e3f282a5e756f78767f3f282a4a68756e757975763f282a75743f282a5968636a6e75796f68687f7479633f282a50757869\"
\"/cdn-cgi/l/email-protection#1a726d2d2385a7f777570737e7b753475687d25696f78707f796e27577b68717f6e73747d3f282a567f7b7e3f282a7b6e3f282a5e756f78767f3f282a4a68756e757975763f282a75743f282a5968636a6e75796f68687f7479633f282a50757869\"
6 Replies
Yash Bindal (yB)
I want to get the from # to end I tried ^
Brendonovich
Brendonovich2y ago
solution: don't use a regex. just split on # and grab the last element
Yash Bindal (yB)
oh
Brendonovich
Brendonovich2y ago
sure you could use a regex but it's so much extra work
Yash Bindal (yB)
fair point
Gabriel
Gabriel2y ago
My friend once said Say you have a problem, and then you decide to solve the problem with regex Now you got two happy
Want results from more Discord servers?
Add your server