• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 153
  • Last Modified:

regexp

How do i get regexp to pull out the argb integers to parse elsewhere:

the txt file is like this:

A=,255, R=,182, G=,255, B=,213
A=,255, R=,200, G=,255, B=,220
A=,255, R=,217, G=,255, B=,226
A=,255, R=,201, G=,228, B=,195
A=,255, R=,189, G=,209, B=,182
A=,255, R=,236, G=,255, B=,235
A=,255, R=,225, G=,253, B=,231
A=,255, R=,222, G=,255, B=,238
A=,255, R=,215, G=,255, B=,237
0
PeterBaileyUk
Asked:
PeterBaileyUk
1 Solution
 
käµfm³d 👽Commented:
For what language or text editor?

You may get away with:

A=,([0-9]+), *R=,([0-9]+), *G=,([0-9]+), *B=,([0-9]+)

Open in new window

0
 
PeterBaileyUkAuthor Commented:
apologies for delay.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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