Thread
:
Replace problem
View Single Post
11-08-2011, 03:48 AM
#
2
ldolse
Wizard
Posts: 1,337
Karma: 123455
Join Date: Apr 2009
Location: Malaysia
Device: PRS-650, iPhone
Surround it with Parentheses and then use \1, e.g.:
Code:
(Part [A-z]+)<br>
Code:
<h2>\1</h2>
Read the regex intro for more detail, this is covered:
https://www.mobileread.com/forums/sho...d.php?t=118569
ldolse
View Public Profile
Find More Posts by ldolse
Track Posts by ldolse via RSS