move words to head of to line??

General questions about using TextPad

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

Post Reply
Aykut

move words to head of to line??

Post by Aykut »

hi..
i have too many line like this;

<b KAZANCA TEŞVİK </b <a name="alim_satim_1" </a <BR <hr
<b helal kazanc </b <a name="alim_satim_2" </a <BR <hr
<b amanaman </b <a name="alim_satim_3" </a <BR <hr

and..i want to make like this;

<a name="alim_satim_1" </a <b KAZANCA TEŞVİK </b <BR <hr
<a name="alim_satim_2" </a <b helal kazanc </b <BR <hr
<a name="alim_satim_3" </a <b amanaman </b <BR <hr

(i move to this words to head of line "<a name="alim_satim_3" </a"")


if more incomprehensible look this

i have
aA12 = B23dd

and i want to this
B23dd = aA12



not: i have to amny none english character (İÃœĞŞÃ‡ı)
text pad how to see that characters?

thank you for help..
Ed Orchard

Re: move words to head of to line??

Post by Ed Orchard »

For your first query

Replace
^\(.+\)\(<a[^<]*</a \)\(.*\)$
with
\2\1\3

with regular expression checked and Configure/Preferences/Editor POSIX not checked
Post Reply