CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Regular Expressions: Re: [BillKSmith] XML RegEx Problem: Edit Log



hurz
Novice

Jun 20, 2014, 3:07 AM


Views: 48321
Re: [BillKSmith] XML RegEx Problem

Hello everyone,

the interpretation of Bill is correct. In the meantime I've played a little bit with the "RegEx Coach":

1. Names can be found with: <Test>(.*?)</Test>
2. Tokens can be found with: \{(.*?)\}

Problem: Is it possible to combine both expressions (1 AND 2), that only a Name (e.g. Name1) with x Tokens (e.g. Token1, Token2) will be found and then the next Name (e.g. Name3) with x Tokens (e.g. Token3) and so on?

Thanks in advance.

hurz

(This post was edited by hurz on Jun 20, 2014, 4:14 AM)


Edit Log:
Post edited by hurz (Novice) on Jun 20, 2014, 4:14 AM


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives