I have this URL:
http://example.com/createSend/step4_1.aspx?cID=876XYZ964D293CF&snap=true&jlkj=kjhkjh&
And this regex pattern:
cID=[^&]*
Which produces this result:
cID=87B6XYZ964D293CF
How do I REMOVE the "cID="?
Thanks
You can either use lookbehind (not in Javascript):
(?<=cID=)[^&]*
Or you can use grouping and grab the first group:
cID=([^&]*)
1.4m articles
1.4m replys
5 comments
57.0k users