Regex: How do I match some regex logic 1 or more times?

Posted by tom on Stack Overflow See other posts from Stack Overflow or by tom
Published on 2010-06-05T07:47:19Z Indexed on 2010/06/05 7:52 UTC
Read the original article Hit count: 341

Filed under:

I already have some regex logic which says to look for a div tag with class=something. However, this might occur more than once (one after another). You can't simply add square brackets around that complex regex logic already (e.g. [:some complicated regex logic already existing:]* -- so how do you do it in regex? I want to avoid having to use the programming language logic to append that regex logic after itself if I can...

Thanks

© Stack Overflow or respective owner

Related posts about regex