Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
Regular Expression
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
BAScript - Simple scripti...
by
valdir.marcos
[
Today
at 05:48:03 am]
We are starting to use La...
by
valdir.marcos
[
Today
at 04:50:02 am]
X11Libre, finally and for...
by
Graeme
[
Today
at 02:21:31 am]
[AGGPas] Usage of scale m...
by
Graeme
[
Today
at 02:04:23 am]
Frustrating Error When us...
by
jamie
[
Today
at 01:00:25 am]
Status of FPC 3.4.0 or FP...
by
dbannon
[
Today
at 12:43:03 am]
; after then
by
dseligo
[
Today
at 12:40:09 am]
AI to port DBDesigner For...
by
schuler
[
Today
at 12:29:07 am]
Reporting a Bug? in Strin...
by
wp
[February 15, 2026, 11:54:41 pm]
LazSerial not found
by
dseligo
[February 15, 2026, 11:48:29 pm]
How to determine the unkn...
by
Roland57
[February 15, 2026, 07:47:42 pm]
Taking 'Common' parts out...
by
J-G
[February 15, 2026, 07:01:17 pm]
[ANN] fpGUI Toolkit v2.0....
by
Graeme
[February 15, 2026, 06:33:58 pm]
New front end for solitai...
by
TBMan
[February 15, 2026, 06:23:47 pm]
it2play - IT/S3M module r...
by
Lulu
[February 15, 2026, 06:09:46 pm]
Duplicated icon in the Wi...
by
CM630
[February 15, 2026, 04:28:20 pm]
[SOLVED] LazReport
by
1HuntnMan
[February 15, 2026, 03:50:38 pm]
QuestionDlg does strange ...
by
SA.Blackmon
[February 15, 2026, 03:41:21 pm]
[ANN] PasBuild 1.3.0 rele...
by
cdbc
[February 15, 2026, 02:34:04 pm]
[Solved] Help needed comp...
by
broutelichen
[February 15, 2026, 01:51:53 pm]
SoundTracker Player Libra...
by
Gigatron
[February 15, 2026, 01:35:38 pm]
Delphi Magazine issues 1-...
by
cerdal
[February 15, 2026, 01:05:49 pm]
How to start LAMW emulato...
by
RaketeMike
[February 15, 2026, 12:16:26 pm]
lazarus information aand ...
by
LeP
[February 15, 2026, 11:19:12 am]
Free Pascal for a small e...
by
dbannon
[February 15, 2026, 10:36:13 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Regular Expression (Read 1871 times)
xinyiman
Hero Member
Posts: 2261
Regular Expression
«
on:
June 09, 2015, 10:37:12 am »
Hello guys, I'm completely ignorant of regular expressions.
Who tells me how to read this type of string from a longer text ?!
<b><span class=\"class_pp\">1,33 <span class=\"sm\">EUR<\/span>
Thanks
Logged
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1
rasberryrabbit
Full Member
Posts: 150
Re: Regular Expression
«
Reply #1 on:
June 09, 2015, 10:45:56 am »
How about this?
Code:
[Select]
expression <b><span class=\\"class_pp\\">([^<]+)<span class=\\"sm\\">([^<]+)<\\/span>
Logged
Code is long, Life is short, AI is not your enemy.
xinyiman
Hero Member
Posts: 2261
Re: Regular Expression
«
Reply #2 on:
June 09, 2015, 12:54:38 pm »
Perfect.
Logged
Win10, Ubuntu and Mac
Lazarus: 2.1.0
FPC: 3.3.1
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
Regular Expression
TinyPortal
© 2005-2018