[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 182
  • Last Modified:

How to pull out data inside a tag using TRegExpr?

Hi!
Anybody here knows how to pull out data inside a custom tag like <MASK>Hello</MASK (Will change Hello to *****) using TRegExpr?

Thanks
0
edwinaceron
Asked:
edwinaceron
1 Solution
 
2266180Commented:
I never used tregexpr, but a regular expression would look something like this:
use replace: (\>[a-zA-Z]+\>)(.*)(\>[a-zA-Z\/]+\>) with /1 (if groups are counted from 0) or /2 (if groups are counted from 1)
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now