Reputation: 337
Need some help to write a regex that catches this
/applicant-resume-upload?tfa_3352=ANYCHARACTERS
but not this
/applicant-resume-upload?tfa_3352=
(blank instead of any characters for the value).
Upvotes: 1
Views: 3211
Reputation: 196
Based on some of your other comments it sounds like you can't use lookarounds? I'm pretty sure most javascript engines have at least partial support for them, but if that's not the case for you then this pattern should work.
\/applicant-resume-upload\?tfa_3352=.+
Or if you need to exclude white space then this
\/applicant-resume-upload\?tfa_3352=\S+
http://regex101.com/r/kH2xX7/1
Upvotes: 1
Reputation: 67968
\/applicant-resume-upload\?tfa_3352=(?!$|\s+).*
This should do it.It will ensure that it is not the end of line or space or newlines..
See demo.
http://regex101.com/r/sU3fA2/48
Upvotes: 2
Reputation: 6333
don't understand you want blank or not.
no blank:
\/applicant-resume-upload\?\w+=\S+
Upvotes: 0