View Single Post
Old 02-06-2022, 07:22 PM   #6
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
I would use:

Code:
([a-z])([;!])
or

Code:
(\w)([;!])
The latter allows mixed case. And I think accented characters.

With the replace being:

Code:
\1 6 0 ;\2
or

Code:
\1& 8 2 3 9 ;\2
With, as @DNSB said, the extra spaces inside the number removed. If I don't put them in, the browser or site interprets the code. Or you could cut-and-paste the space you want to put there.

Last edited by davidfor; 02-06-2022 at 07:27 PM. Reason: Hit the wrong button.
davidfor is offline   Reply With Quote