Jacob L
asked on
textpad regex replace between 2 quotes
I am using textpad and need to delete everything within quotes like below.
this is the current code
<OrderDocumentCode Code="00000000" />
this is what i need it to look like.
<OrderDocumentCode Code="" />
There are other quotes in the document so it would need to include the tag OrderDocumentCode
Thanks in advance
this is the current code
<OrderDocumentCode Code="00000000" />
this is what i need it to look like.
<OrderDocumentCode Code="" />
There are other quotes in the document so it would need to include the tag OrderDocumentCode
Thanks in advance
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Move your cursor to the top of the file. Then try again
ASKER
still didn't work.
ASKER
here is a sample file if that helps
Configure, Preferences, Editor. Check "Use POSIX..."
Why not simply:
Find what: <OrderDocumentCode Code="\d*" />
Replace with: <OrderDocumentCode Code="" />
You're basically deleting something, so the groups are not really necessary.
HTH,
Dan
Find what: <OrderDocumentCode Code="\d*" />
Replace with: <OrderDocumentCode Code="" />
You're basically deleting something, so the groups are not really necessary.
HTH,
Dan
ASKER
This solution combined with Configure, Preferences, Editor. Check "Use POSIX..." worked. Thank you so much.
@Dan: Thanks for that. I tend to forget the simple things. *sigh*
ASKER