PLavelle
asked on
Regular expression help
I need a regular expression that will find action attributes similar to the following:
action="http://www.test.com/test/"
Basically, I need to find action attributes that have a forward slash before the ending quote.
action="http://www.test.com/test/"
Basically, I need to find action attributes that have a forward slash before the ending quote.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Here was the fix:
action=\"([^\x00]+?\/)\"
Just replaced the double quotes with backslashes.
Thanks for you help!!
action=\"([^\x00]+?\/)\"
Just replaced the double quotes with backslashes.
Thanks for you help!!
Sorry about that, I'm used to vb6 (I see now this is vb.net) and I didn't realize you had to do that in .net. In any case, glad to have helped!
ASKER
action="hi/"