PPH3 / Eldritch

3 stars 0 forks source link

xpath search pattern #11

Open PPH3 opened 7 years ago

PPH3 commented 7 years ago

Search

( )(decay\w*)

This grabs all words that start with the string 'decay' and end with any kind of suffix. To try to find words with prefixes and suffixes, try:

( )(\w*decay\w*)

In theory at least this should grab "undecaying"...

Replace with:

\1<w>\2</w>