- Joined
- Apr 29, 2005
- Messages
- 6,400
- Reaction score
- 130
So I want to create a regex which will look up a specific tag in a source code and the only thing you know of said tag is that it has a title (Which you know)
let me give an example, you have these three tags:
Now what regex should I use that it returns "<h2 title=\"pie.author\">asdasdasd</h2>"?
I've been busting my balls on this but I just can't seem to figure it out.
Any suggestions?
let me give an example, you have these three tags:
Code:
<h1 title=\"pie.subject\"></h1>
<h2 title=\"pie.author\">asdasdasd</h2>
<div title=\"pie.text(text)\">
</div>
Now what regex should I use that it returns "<h2 title=\"pie.author\">asdasdasd</h2>"?
I've been busting my balls on this but I just can't seem to figure it out.
Any suggestions?