regular expression help

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
dabombst
Posts: 11
Joined: Tue Nov 01, 2005 7:24 pm

regular expression help

Post by dabombst »

Hi

I would like to delete everything between delimiter in each line.
sample...
þþþþþþþ000000001A6F87258ECABF42A145ECD486D2EF6E24002000þþc4ad4c39f9529dc1d518571945c02d2cþ
þþþþþþþ000000001A6F87258ECABF42A145ECD486D2EF6E44002000þþ2decd1417925927ccb218af0fd6a5b58þ
þþþþþþþ000000001A6F87258ECABF42A145ECD486D2EF6E64002000þþb838ede37cd282fb534175c0ad9842d8þ
þþþ11.0þþþþ000000001A6F87258ECABF42A145ECD486D2EF6E84002000þþfa3f9ca4ac059331cb7bf09420083108þ
þþþ11.0þþþþ000000001A6F87258ECABF42A145ECD486D2EF6EA4002000þþ1935562004172ce8e46e30360c5feb95þ
þþþ11.0þþþþ000000001A6F87258ECABF42A145ECD486D2EF6EC4002000þþef7fc296fb382f90745a2dd2a4c5037eþ

output
000000001A6F87258ECABF42A145ECD486D2EF6E24002000
000000001A6F87258ECABF42A145ECD486D2EF6E44002000
000000001A6F87258ECABF42A145ECD486D2EF6E64002000
000000001A6F87258ECABF42A145ECD486D2EF6E84002000
000000001A6F87258ECABF42A145ECD486D2EF6EA4002000
000000001A6F87258ECABF42A145ECD486D2EF6EC4002000

Thanks
bveldkamp

Post by bveldkamp »

That's an odd symbol? Try this

Code: Select all

Search  ^.+þ(0[^þ]+).*$
Replace \1
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Post by ben_josephs »

It's a thorn, used in Old English and modern Icelandic.

In some forms it looks vaguely like a "Y", and is the origin of the "Y" in such nonsense as "Ye Olde Tea Shoppe".
Post Reply