Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
(?P<core1>(?i)[A-Z0-9]+)[\s]?((?i)out of|of|\/)[\s]?(?P<core2>(?i)[A-Z0-9]+)[\s]?(?:(?i)core[s]?|needle core[s]?)
/
g
Input 1
ajnxaslndsa;ndaJDASDNsadnKDNadk;NADK'nadkAnaskdmaskdnajfbajfnakdnaj;knasjnakdna;jkdna;nda;dna;kdnas;dkns so as sadasldka aldaskl . asdas asd 5,400 cgy 40.00 cgy 4 cgy gleason score 6/10(4+3), = 7 ) 1.1- 0.6,df 2,4-3,6 asdf 4+5+6 gleason's pattern: 2+3, 5 gleason score = 5(2+3) score 1+2, (score 7) gleason Dec 2011-23 jan 500,000.012 cgy sdfsfsodm sdfsd f sdfsd afdas. s adasas dasd as asdasdaskd askdm askdmas'ljdnas;das.ndaskjndajkndWJDNAksz (?P<core1>(?i)[A-Z0-9]+)[\s]?((?i)out of|of|\/)[\s]?(?P<core2>(?i)[A-Z0-9]+)[\s]?(?:(?i)core[s]?|needle core[s]?) (?P<core1>(?i)[A-Z0-9]+)[\s]?((?i)core[s]? out of)[\s]?(?P<core2>(?i)[A-Z0-9]+) (?:(?i)involving)[\s]?(?P<core1>(?i)[A-Z0-9]+)[\s]?(?:(?i)core[s]?|needle core[s]?) 1 of 3 core one of three cores involving 1/2 cores involving five of six cores two of the cores one of multiple cores 1 of multiple cores two of 4 cores 5 of six cores (1/8 needle cores) (3/7 cores) one out of six cores two cores out of two 1 core out of 2 involving 1 core i
Substitution
ajnxaslndsa;ndaJDASDNsadnKDNadk;NADK'nadkAnaskdmaskdnajfbajfnakdnaj;knasjnakdna;jkdna;nda;dna;kdnas;dkns so as sadasldka aldaskl . asdas asd 5,400 cgy 40.00 cgy 4 cgy gleason score 6/10(4+3), = 7 ) 1.1- 0.6,df 2,4-3,6 asdf 4+5+6 gleason's pattern: 2+3, 5 gleason score = 5(2+3) score 1+2, (score 7) gleason Dec 2011-23 jan 500,000.012 cgy sdfsfsodm sdfsd f sdfsd afdas. s adasas dasd as asdasdaskd askdm askdmas'ljdnas;das.ndaskjndajkndWJDNAksz (?P<core1>(?i)[A-Z0-9]+)[\s]?((?i)out of|of|\/)[\s]?(?P<core2>(?i)[A-Z0-9]+)[\s]?(?:(?i)core[s]?|needle core[s]?) (?P<core1>(?i)[A-Z0-9]+)[\s]?((?i)core[s]? out of)[\s]?(?P<core2>(?i)[A-Z0-9]+) (?:(?i)involving)[\s]?(?P<core1>(?i)[A-Z0-9]+)[\s]?(?:(?i)core[s]?|needle core[s]?) 1 of 3 core one of three cores involving 1/2 cores involving five of six cores two of the cores one of multiple cores 1 of multiple cores two of 4 cores 5 of six cores (1/8 needle cores) (3/7 cores) one out of six cores two cores out of two 1 core out of 2 involving 1 core i