View Single Post
Old 05-24-2020, 12:43 PM   #9
Turtle91
A Hairy Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 3,361
Karma: 20212223
Join Date: Dec 2012
Location: Charleston, SC today
Device: iPhone 15/11/X/6/iPad 1,2,Air & Air Pro/Surface Pro/Kindle PW & Fire
Quote:
Originally Posted by Pippo53s03 View Post
Sorry, I'm really a donkey newbie and maybe I was non clear...
I want to insert directly the image, not the link to it and regex I'm looking for is one to translate:
Code:
Fig._3.1 
into
Code:
Fig._3.1&nbsp;<img alt="Fig_3.1" src="../Images/Fig_3.1.jpg"/>
or
Code:
Fig._10.6&nbsp;
into
Code:
Fig._10.6&nbsp;<img alt="Fig_10.6" src="../Images/Fig_10.6.jpg"/>

That is a little different than what you had originally.

Try:
Code:
search: 
Fig._(.*?)&nbsp; 

replace:
Fig._\1<img alt="Fig_\1" src="../Images/Fig_\1.jpg"/>
Also, I would highly recommend taking a look at the basic eProduction tutorial on our wiki...it will help you alot if you choose to make ebooks. There is also some basic regex examples here. And also a good reference for HTML and CSS on W3Schools website.

Cheers!
Turtle91 is offline   Reply With Quote