Thread
:
Regex examples
View Single Post
03-27-2025, 09:30 PM
#
783
Karellen
Wizard
Posts: 1,622
Karma: 9500498
Join Date: Sep 2021
Location: Australia
Device: Kobo Libra 2
Quote:
Originally Posted by
ElMiko
<p class="lorem">.........6.........</p>
I assume you want to capture the number to reuse.
PHP Code:
\.+(\
d
+)\.+
Then change the \. to match whatever other character you want to find.
Karellen
View Public Profile
Visit Karellen's homepage!
Find More Posts by Karellen
Track Posts by Karellen via RSS