How to match this with a regex?
Posted
by
andrei miko
on Stack Overflow
See other posts from Stack Overflow
or by andrei miko
Published on 2012-09-11T12:57:47Z
Indexed on
2012/09/11
15:38 UTC
Read the original article
Hit count: 236
regex
I just wanna use a regex to match something from my products file.
I have them in this way
"Something here","a link here","website here","date here(eg. 11/12/2012)","description1 here","**description2 here**","some other text here","here also", and so on ...
I wanna match with a regex only description 2.
I tried this: (?<=[0-9][0-9][0-9][0-9]).*(?=",") but it wasn't good because it was getting me description1, description2 and some quotes also.
Thanks in advance.
© Stack Overflow or respective owner