/ Published in: Regular Expression

Developed for eclipse but prolly useful elsewhere, put the text after 'find' in the 'find' box and the text after 'replace' in 'replace'.
Note: this example uses an html list item 'li', make sure to replace that with the tag you want to find
Note: this example uses an html list item 'li', make sure to replace that with the tag you want to find
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Find: <(li*)\b[^>]*>(.*?)</\1> Replace: $2
Comments
