gokul1904
(Glory 01)
1
Hi team ,
I want to extract HRC(integers till a space comes) from the below examples.
- ewqeqe - hrc12313 sfdsdf
- sfdohl - HRC23424 sasdg
- Hrc1234131241142 - dshfk
- hRc23842 - shr
- HRc12118319 - sdad
The output should be
- hrc12313
2.HRC23424
3.Hrc1234131241142
4.hRc23842
5.HRc12118319
Can you pleas help me to extract the above values.
Regards,
G
ppr
(Peter Preuss)
2
Regex can help:
Case Insensitive option activated and Anchored on HRC:

strPattern = “HRC\d+”
Single Match:

MultiMatch

system
(system)
Closed
3
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.